[rhn-users] mount a lvm/ext3 fs?

Ray Stell stellr at cns.vt.edu
Wed Jul 6 18:17:02 UTC 2005


I finally got this to work.  Seems the metadata had to
be cleaned up.  I fdisked the guys, put them in lvm,
created the fs, and then I could mount them.


On Wed, Jul 06, 2005 at 07:36:22AM -0400, Ray Stell wrote:
> On Wed, Jul 06, 2005 at 07:00:15AM -0400, Lamon, Frank III wrote:
> > Maybe try to redo the filesystem again, we always create them like this:
> > "mkfs -j /dev/db01_vg/db01_lv"
> 
> 
> I've tried lots of different methods, including the one you suggest.  
> The fs seems to create, but when I try to mount it, /var/log/messages
> says:
> 
> Jul  6 07:28:59 pecan kernel: VFS: Can't find ext3 filesystem on dev dm-0.
> 
> What is the dm-0?
> 
> Below is the command where I made the fs I mount to get the above error:
> 
> [root at pecan db01_vg]# mkfs -j /dev/db01_vg/db01_lv
> mke2fs 1.35 (28-Feb-2004)
> Filesystem label=
> OS type: Linux
> Block size=4096 (log=2)
> Fragment size=4096 (log=2)
> 4587520 inodes, 9175040 blocks
> 458752 blocks (5.00%) reserved for the super user
> First data block=0
> Maximum filesystem blocks=12582912
> 280 block groups
> 32768 blocks per group, 32768 fragments per group
> 16384 inodes per group
> Superblock backups stored on blocks: 
>         32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
>         4096000, 7962624
> 
> Writing inode tables: done                            
> Creating journal (8192 blocks): done
> Writing superblocks and filesystem accounting information: done
> 
> This filesystem will be automatically checked every 20 mounts or
> 180 days, whichever comes first.  Use tune2fs -c or -i to override.
> 
> [root at pecan db01_vg]# mount /dev/db01_vg/db01_lv /db01
> mount: you must specify the filesystem type
> 
> [root at pecan db01_vg]# mount -t ext3 /dev/db01_vg/db01_lv /db01
> mount: wrong fs type, bad option, bad superblock on /dev/db01_vg/db01_lv,
>        or too many mounted file systems
> 
> ============================================================
> Ray Stell  stellr at vt.edu  (540) 231-4109  Tempus fugit  28^D

-- 
============================================================
Ray Stell  stellr at vt.edu  (540) 231-4109  Tempus fugit  28^D




More information about the rhn-users mailing list