Computing.Net > Forums > Solaris > mounting filesystem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

mounting filesystem

Reply to Message Icon

Name: Hamid
Date: February 17, 2003 at 08:43:55 Pacific
OS: sun 5.7
CPU/Ram: 459
Comment:

I am having problems trying to mount a filesystem where I get the following messege:
# mount /dev/vx/dsk/rootdg/vol01 /data/u01
mount: /dev/vx/dsk/rootdg/vol01 is not this fstype.
when I run fsck I get:
** /dev/vx/dsk/rootdg/vol01
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).

Any ideas how to run fsck to fix the filesystem
Thanks in Advance




Sponsored Link
Ads by Google

Response Number 1
Name: Erulia
Date: February 18, 2003 at 13:17:10 Pacific
Reply:

First, is /dev/vx/dsk/rootdg/vol01 ufs, vxfs or some other FS? If it is ufs, then you need to figure out what controller/target/disk/slice the filesystem is. Try running "vxdisk list" (as root) to get the c#t#d#s# for the disk. Then run fsck as indicated:
fsck -F ufs /dev/rdsk/c#t#d#s#

If it comes back with the "alternate super-block" error, run "newfs -Nv /dev/rdsk/c#t#d#s#". This will generate a list of alternate superblocks. Then run:
fsck -F ufs -o b= /dev/rdsk/c#t#d#s#


0

Response Number 2
Name: iosakwe
Date: February 18, 2003 at 21:17:13 Pacific
Reply:

It seems that the error messages is indicating a wrong filesystem being specified.

Check your /etc/default/fs to see which
the default filesytem.


try mounting it as a veritas filesystem .
mount -F vxfs /dev/vx/dsk/rootdg/vol01 /data/U01 .

Let us know the outcome

iosakwe


0

Response Number 3
Name: Hamid
Date: February 19, 2003 at 04:53:08 Pacific
Reply:

Thanks Guys you feed back was usefull, but
I have tried the newfs and fsck as mentioned by Erulia, but what I discovered is that the filesystem was corrupt because one of the disks failed, hence I had to clean and enable to striped plex used by that file system then used "newfs" to rebuild the file system and recovered the data from tapes.

The file system is mounted ok now

Once again thank you guys for the info


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: mounting filesystem

Mounting Fat32 Partitions on Solaris 7 www.computing.net/answers/solaris/mounting-fat32-partitions-on-solaris-7/892.html

Soalris 8 on x86 www.computing.net/answers/solaris/soalris-8-on-x86/3903.html

Solaris Installation Problem www.computing.net/answers/solaris/solaris-installation-problem/328.html