The following is only the installation record 1. create lv [root @ Linux ~] # Lvcreate-L20480VolGroup_ID_25519-nlvdbraLogicalvolumelvdbracreated2, create mount point [root @ Linux ~] # Mkdir/dbra3. if the file is directly mounted or mounted in ext3 format, the following error occurs: [root @ Linux ~] # Mou
The following is only the installation record
1. create an lv
[Root @ Linux ~] # Lvcreate-L 20480 VolGroup_ID_25519-n lvdbra
Logical volume "lvdbra" created
2. create a mount point
[Root @ Linux ~] # Mkdir/dbra
3. an error is reported when mounting directly or mounting in ext3 format.
[Root @ Linux ~] # Mount/dev/VolGroup_ID_25519/lvdbra/dbra
Mount: you must specify the filesystem type
[Root @ Linux ~] # Mount-t ext3/dev/VolGroup_ID_25519/lvdbra/dbra
Mount: wrong fs type, bad option, bad superblock on/dev/VolGroup_ID_25519/lvdbra,
Missing codepage or othererror
In some cases useful info isfound in syslog-try
Dmesg | tail or so
4. use the ext3 file system format lv
[Root @ Linux ~] # Mkfs. ext3-L lvdbra/dev/VolGroup_ID_25519/lvdbra
Mke2fs 1.39 (29-may-2006)
Filesystem label = lvdbra
OS type: Linux
Block size = 4096 (log = 2)
Fragment size = 4096 (log = 2)
2621440 inodes, 5242880 blocks
262144 blocks (5.00%) reserved for the super user
First data block = 0
Maximum filesystem blocks = 4294967296
160 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768,983 04, 163840,229376, 294912,819 200, 884736,160 5632, 2654208,
4096000
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information:
Done
This filesystem will be automatically checked every 23 mountsor
180 days, whichever comes first. Use tune2fs-c or-I tooverride.
5. mount points
[Root @ Linux ~] # Mount/dev/VolGroup_ID_25519/lvdbra/dbra
6. add entries in/etc/fstab and start it with the system
/Dev/VolGroup_ID_25519/lvdbra/dbra ext3 defaults 1 2