[pve-devel] restrict scsi-block to /dev/disk/

Alexandre DERUMIER aderumier at odiso.com
Mon Mar 12 11:04:59 CET 2012


http://publib.boulder.ibm.com/infocenter/dsichelp/ds6000ic/index.jsp?topic=%2Fcom.ibm.storage.smric.help.doc%2Ff2c_linuxscsilimit_2hsag9.html 

" For the Linux 2.6 kernels the number of major and minor bits has been increased to 12 and 20 bits respectively, thus Linux 2.6 kernels can support thousands of disks. There is still the limitation of only up to 15 partitions per disk." 


Maybe checking major is enough ? 
major defined the block type.


----- Mail original -----

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Lundi 12 Mars 2012 10:49:18 
Objet: RE: [pve-devel] restrict scsi-block to /dev/disk/ 

> -----Original Message----- 
> From: Alexandre DERUMIER [mailto:aderumier at odiso.com] 
> Sent: Montag, 12. März 2012 10:44 
> To: Dietmar Maurer 
> Cc: pve-devel at pve.proxmox.com 
> Subject: Re: [pve-devel] restrict scsi-block to /dev/disk/ 
> 
> I found these majors in doc : 
> 
> major : 8,65,66,67,68,69,70,71,128,129,130,131,132,133,134,135 
> 
> But they are more than 16 minors ? (kernel 2.6). 
> 
> Checking major isn't enough ? 
> 
> I can see 800 iscsi luns disk on my host 

So what minor number do they use? And what device names? 

linux-2.6-2.6.32/Documentation/devices.txt only mentions 256 disks. 

- Dietmar 



-- 

-- 




	Alexandre D erumier 
Ingénieur Système 
Fixe : 03 20 68 88 90 
Fax : 03 20 68 90 81 
45 Bvd du Général Leclerc 59100 Roubaix - France 
12 rue Marivaux 75002 Paris - France 
	


More information about the pve-devel mailing list