Christoffer Kjølbæk I have a blog, therefore I am…

13Dec/080

LVM, Debian and NSLU2

I have an external harddrive for my NSLU2, which holds one LVM VG with four logical volumes. To enable LVM on the NSLU2 just install lvm2 and dmsetup

apt-get install lvm2 dmsetup

LVM Volume Groups will be found automatically, and you just has to enable them in fstab. If the volume group is called nas and the logical volume is called backup add the below to /etc/fstab

/dev/nas/backup /backup ext3 errors=remount-ro 0 1

On next boot the this will be mounted, and you can mount them instantly by running

mount -a

Kommentarer (0) Trackbacks (0)

Ingen kommentarer endnu.


Læg en kommentar


Ingen trackbacks endnu.