Bug#645167: disk_config example for setup-storage for lvm on raid

October 13th, 2011 - 04:30 am ET by Holger Levsen | Report spam

package: fai-doc
severity: wishlist

Hi,

please include an example for setup-storage for lvm on raid, eg this:

disk_config sda
primary - 256 - -
primary swap 8192 swap sw
primary - 0- - -

disk_config sdb
primary - 256 - -
primary - 8192 swap sw
primary - 0- - -

disk_config raid fstabkey:uuid
raid1 / sda1,sdb1 ext4 rw,noatime,errors=remount-ro
raid1 - sda3,sdb3 ext4 default

# config the LVM
disk_config lvm fstabkey:uuid
vg vg_system md1
vg_system-usr /usr 8192 ext4 rw,noatime
vg_system-var /var 16384 ext4 rw,noatime
vg_system-varlog /var/log 8192 ext4 rw,noatime
vg_system-srv /srv 32768 ext4 rw,noatime
vg_system-tmp /tmp 32768 ext4 rw,noatime


thanks,
Holger

name="RAID1_LVM"
filename="RAID1_LVM"

disk_config sda
primary - 256 - -
primary swap 8192 swap sw
primary - 0- - -

disk_config sdb
primary - 256 - -
primary - 8192 swap sw
primary - 0- - -

disk_config raid fstabkey:uuid
raid1 / sda1,sdb1 ext4 rw,noatime,errors=remount-ro
raid1 - sda3,sdb3 ext4 default

# config the LVM
disk_config lvm fstabkey:uuid
vg vg_system md1
vg_system-usr /usr 8192 ext4 rw,noatime
vg_system-var /var 16384 ext4 rw,noatime
vg_system-varlog /var/log 8192 ext4 rw,noatime
vg_system-srv /srv 32768 ext4 rw,noatime
vg_system-tmp /tmp 32768 ext4 rw,noatime





To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 2 repliesReplies Make a reply

Replies

#1 Thomas Lange
October 13th, 2011 - 05:10 am ET | Report spam
On Thu, 13 Oct 2011 10:23:10 +0200, Holger Levsen said:









vg_system-usr /usr 8192 ext4 rw,noatime
vg_system-var /var 16384 ext4 rw,noatime
vg_system-varlog /var/log 8192 ext4 rw,noatime
vg_system-srv /srv 32768 ext4 rw,noatime
vg_system-tmp /tmp 32768 ext4 rw,noatime



IMO we should change the size values to something like 8G, 16G or
32G. This makes everything more readable.

regards Thomas



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics