fstab & LVM logical volumes
James Macele Jones
macele.jones at gmail.com
Tue Oct 23 03:08:49 UTC 2007
On Mon, 2007-10-22 at 18:04 -0700, Froylan Lapid wrote:
> how about using 'fdisk -l' to list the volumes of all your drives and
> instead of mounting it using uuid use the hda, hdb or sda etc... to
> mount it.
Except he is not mounting a drive really... he is mounting a fake raid
array, which under linux is listed as /dev/mapper/_whatever_
I'm no expert though...
Another method to see what to mount is like this:
macele at macele-desktop:~$ sudo dmraid -ay
[sudo] password for macele:
RAID set "nvidia_ahafefih" already active
RAID set "nvidia_ahafefih1" already active
RAID set "nvidia_ahafefih2" already active
RAID set "nvidia_ahafefih3" already active
RAID set "nvidia_ahafefih4" already active
macele at macele-desktop:~$
Obviously nvidia_ahafefih is the device and nvidia_ahafefihX are the
partitions.
My fstab:
macele at macele-desktop:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/mapper/nvidia_ahafefih3 / ext3
defaults,errors=remount-ro 0 1
/dev/mapper/nvidia_ahafefih4 none swap sw
0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
/dev/hdc /media/cdrom1 udf,iso9660 user,noauto,exec 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0
macele at macele-desktop:~$
Hope that helps,
Maceleqq
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071022/b175b57a/attachment.html>
More information about the ubuntu-users
mailing list