[lfs-support] LFS-7.0 with LVM

Bruce Dubbs bruce.dubbs at gmail.com
Sun Jan 29 17:08:58 PST 2012


Baho Utot wrote:

> For me it is ever try to manage 16 regular partitions?

How about two regular partitions: / and /boot, and lvm for everything else.

And yes, I do manage 16 regular partitions:

$ sudo fdisk -l /dev/sda

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000080

    Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63      208844      104391   83  Linux
/dev/sda2          208845    19743884     9767520   83  Linux
/dev/sda3        19743885    25607609     2931862+  82  Linux swap / Solaris
/dev/sda4        25607671   439398399   206895364+   5  Extended
/dev/sda5        25607673    46588499    10490413+  83  Linux
/dev/sda6        46588563    67569389    10490413+  83  Linux
/dev/sda7        67569453    87104429     9767488+  83  Linux
/dev/sda8        87104493   108085319    10490413+  83  Linux
/dev/sda9       108085383   191992814    41953716   83  Linux
/dev/sda10      191992878   233954594    20980858+  83  Linux
/dev/sda11      233954658   254935484    10490413+  83  Linux
/dev/sda12      254935548   317862089    31463271   83  Linux
/dev/sda13      317862153   338842979    10490413+  83  Linux
/dev/sda14      338843043   359823869    10490413+  83  Linux
/dev/sda15      359823933   380804759    10490413+  83  Linux
/dev/sda16      380805120   419866623    19530752   83  Linux
/dev/sda17      419868672   439398399     9764864   83  Linux

Well, make that 15 regular partitions, 1 extended, and one swap.

My sdb is 750G.  I can see 5-10 10G partitions (for different lfs 
builds) and on LVM partition for everything else.  Right now i have:

/dev/sdb1            2048    20973567    10485760   fd  Linux raid 
autodetect
/dev/sdb2        20973568    41945087    10485760   83  Linux
/dev/sdb3        41945088    62916607    10485760   83  Linux
/dev/sdb4        62916608  1465149167   701116280    5  Extended
/dev/sdb5        62918656  1465149167   701115256   8e  Linux LVM

So I can experiment with standard jfs, xfs, and reiser filesystems and 
boot from them without an initramfs.

   -- Bruce



More information about the lfs-support mailing list