FC3: Trouble mounting LVM2 LVs in /etc/fstab
Matthew Crocker
matthew at crocker.com
Fri Jan 7 16:07:17 UTC 2005
Fixed,
Ok, I'm a moron, I found the problem. The filesystems were EXT2 not
EXT3 and /etc/fstab said ext3. Doh, I'll go hide now.
-Matt
On Jan 7, 2005, at 10:54 AM, Matthew Crocker wrote:
> Hello,
>
> I have a fresh FC3 minimal install running using LVM2 to manage my
> drives. I have created some logical volumes, installed ext3 as a
> filesystem on them and added them to /etc/fstab. When I attempt to
> mount them using 'mount -a' or 'mount /nfs/home' I get an error
> message. When I attempt to mount them with 'mount
> /dev/VolumeGroup00/Home00 /nfs/home' it works
>
> I don't think it matters but the drives are 6 SCSI drives behind an
> Adaptec 2010S RAID controller.
> /dev/VolGroup00/LogVol00 gets mounted on / during boot and was
> created by the Fedora Install program
> /dev/VolGroup00/Home00 doesn't mount on boot and was created by me
> using lvcreate, mke2fs. What steps did I miss?
>
> Here is some output...
>
> [root at fs1 ~]# df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/mapper/VolGroup00-LogVol00
> 15126920 954436 13404076 7% /
> /dev/i2o/hda1 101086 18557 77310 20% /boot
> none 1037300 0 1037300 0% /dev/shm
> /dev/mapper/VolGroup00-LDAP00
> 222135 2062 208605 1% /var/lib/ldap
> /dev/mapper/VolGroup00-SQL00
> 10321208 1400 9900380 1% /var/lib/mysql
> [root at fs1 ~]# cat /etc/fstab
> # This file is edited by fstab-sync - see 'man fstab-sync' for details
> /dev/VolGroup00/LogVol00 / ext3 defaults
> 1 1
> /dev/VolGroup00/Home00 /nfs/home ext3 defaults
> 1 2
> /dev/VolGroup00/LDAP00 /var/lib/ldap ext3 defaults
> 1 3
> /dev/VolGroup00/Mail00 /nfs/mail ext3 defaults
> 1 4
> /dev/VolGroup00/SQL00 /var/lib/mysql ext3 defaults
> 1 5
> LABEL=/boot /boot ext3 defaults
> 1 2
> none /dev/pts devpts gid=5,mode=620
> 0 0
> none /dev/shm tmpfs defaults
> 0 0
> none /proc proc defaults
> 0 0
> none /sys sysfs defaults
> 0 0
> /dev/VolGroup00/LogVol01 swap swap defaults
> 0 0
> /dev/hdc /media/cdrom auto
> pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed
> 0 0
> /dev/fd0 /media/floppy auto
> pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed
> 0 0
> [root at fs1 ~]# mount /nfs/home
> mount: wrong fs type, bad option, bad superblock on
> /dev/VolGroup00/Home00,
> or too many mounted file systems
> [root at fs1 ~]# mount /dev/VolGroup00/Home00 /nfs/home
> [root at fs1 ~]# df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/mapper/VolGroup00-LogVol00
> 15126920 954436 13404076 7% /
> /dev/i2o/hda1 101086 18557 77310 20% /boot
> none 1037300 0 1037300 0% /dev/shm
> /dev/mapper/VolGroup00-LDAP00
> 222135 2062 208605 1% /var/lib/ldap
> /dev/mapper/VolGroup00-SQL00
> 10321208 1400 9900380 1% /var/lib/mysql
> /dev/mapper/VolGroup00-Home00
> 51606140 53272 48931428 1% /nfs/home
> [root at fs1 ~]#
>
> [root at fs1 ~]# mount -v /nfs/mail
> mount: wrong fs type, bad option, bad superblock on
> /dev/VolGroup00/Mail00,
> or too many mounted file systems
> [root at fs1 ~]# mount /dev/VolGroup00/Mail00 /nfs/mail
> [root at fs1 ~]# df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/mapper/VolGroup00-LogVol00
> 15126920 954436 13404076 7% /
> /dev/i2o/hda1 101086 18557 77310 20% /boot
> none 1037300 0 1037300 0% /dev/shm
> /dev/mapper/VolGroup00-LDAP00
> 222135 2062 208605 1% /var/lib/ldap
> /dev/mapper/VolGroup00-SQL00
> 10321208 1400 9900380 1% /var/lib/mysql
> /dev/mapper/VolGroup00-Home00
> 51606140 53272 48931428 1% /nfs/home
> /dev/mapper/VolGroup00-Mail00
> 103212320 61464 97907976 1% /nfs/mail
> [root at fs1 ~]#
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>
More information about the users
mailing list