Operating System - Linux
1821984 Members
3292 Online
109638 Solutions
New Discussion юеВ

Unable to mount the filesystem in lunux !!!!

 
HP-UX_Ali
Regular Advisor

Unable to mount the filesystem in lunux !!!!

Hello Experts,

While mounting one of the file system is giving below error.

mount /dev/vg01/lvol2 /u03
mount: wrong fs type, bad option, bad superblock on /dev/vg01/lvol2,
or too many mounted file systems

The system was restored from the backup image and vg01 is recovered, where /u01 /u02 /u04 got mounted successfully except /u03.


ran e2fsck -pfb on /dev/vg01/lvol2 ( on different backup superbocks) but same error is appearing whle mounting...

Please suggest below fdisk output is attached..

fdisk -l
Disk /dev/cciss/c0d0: 146.7 GB, 146780121600 bytes
255 heads, 63 sectors/track, 17845 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 131 1052226 83 Linux
/dev/cciss/c0d0p2 132 17844 142279672+ 8e Linux LVM

Disk /dev/sda: 268.4 GB, 268435456000 bytes
255 heads, 63 sectors/track, 32635 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sda doesn't contain a valid partition table

Disk /dev/sdb: 268.4 GB, 268435456000 bytes
255 heads, 63 sectors/track, 32635 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sdc: 268.4 GB, 268435456000 bytes
255 heads, 63 sectors/track, 32635 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/sdd: 268.4 GB, 268435456000 bytes
255 heads, 63 sectors/track, 32635 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdd doesn't contain a valid partition table

Disk /dev/sde: 268.4 GB, 268435456000 bytes
255 heads, 63 sectors/track, 32635 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sde doesn't contain a valid partition table

Disk /dev/sdf: 268.4 GB, 268435456000 bytes
255 heads, 63 sectors/track, 32635 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdf doesn't contain a valid partition table

Disk /dev/sdg: 268.4 GB, 268435456000 bytes
255 heads, 63 sectors/track, 32635 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdg doesn't contain a valid partition table

Disk /dev/sdh: 268.4 GB, 268435456000 bytes
255 heads, 63 sectors/track, 32635 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdh doesn't contain a valid partition table



Regards
Ali
3 REPLIES 3
Matti_Kurkela
Honored Contributor

Re: Unable to mount the filesystem in lunux !!!!

- What's the name and version of your Linux distribution? (This tells a lot about available tools and may help identification of known bugs.)

- Is something else already mounted to /u03, or has /dev/vg01/lvol2 already been mounted to some other location?
(please examine the output of "cat /proc/mounts" and "cat /proc/partitions")

> ran e2fsck -pfb on /dev/vg01/lvol2 ( on different backup superbocks)

Well, was it successful or not?

The '-p' option allows only small errors to be corrected automatically: for bigger problems, it just displays a message and stops. Try running without the -p option.

Since the filesystem is on a LVM logical volume, the "fdisk -l" listing alone tells me nothing useful at all. The commands "lvs", "pvs" and/or "vgs" might provide some useful, compact listings.

MK
MK
Steven E. Protter
Exalted Contributor

Re: Unable to mount the filesystem in lunux !!!!

Shalom Ali,

After you run a command you can check the return code.

command
rc=$?

If rc is zero the command worked. If it is anything else it failed.

I suspect your fsck failed.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
HP-UX_Ali
Regular Advisor

Re: Unable to mount the filesystem in lunux !!!!

Thanks all... as the FS is corrupted and could not recover. I have to recreate it..