Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Device not fstype

Status
Not open for further replies.
Aug 14, 2008
38
US
Hello,

I am running a mail server for which I needed to clear a meta mirror setup and intended on mount the /dev/dsk at a mountpoint. The mirror setup looked like the following..

d7 -m d27 1
d27 1 1 c4t2d0s7

I did a metaclear on d7 and then did metaclear on d27

I then tried to mount using the following command

mount -o intr,largefiles,onerror=panic,suid,logging /dev/dsk/c4t2d0s7 /usr/home

I then recieve the following error
mount: /dev/dsk/c4t2d0s7 is not this fstype.

I have been searching google for something similiar and am not finding a similiar situation. I am trying to find a way to try not to lose the user data that was on this device at the time of the metaclear. Any help would be appreciated

Regards,

Lance
 
how was D7 mounted previously, was it mounted as a UFS filesystem?

if not, then I would assume that is the problem.

your not going to lose the data as long as you do NOT newfs the filesystem. in fact, you can always recreate the metadevice if need be.


 
Was the filesytem unmounted and metadetached? (I am not sure it will bark if you metacleared a mounted filesystem).

metastat does say d7 and d27 no longer exist?

I think I would remetainit d27, then remount it and dump it somewhere BEFORE proceeding.
 
It was mounted ufs orginally. I have issued the
metainit d27 1 1 c4t2d0s7
metainit d7 -m d27

I then tried mount the d7 and also recieved the not fstype error.
 
You didn't need to recreate the mirror, just d27.

What does metastat say about d27 (and d7)
 
are you sure you are using the right slice?

by removing the metadevices, it will not change the underlaying disk. It is more of a wrapper around it, although how elgrandepero stated, it is best to unmount, then delete.

can you attempt to just go thru all the disk slices and mount one of them, unless you are positive.

also, you are positive that only one disk was making up d7 ?? (d27)

for testing purposes, why dont you make it simple:

mount /dev/dsk/c4t2d0s7 /mnt (eliminate the -o for now)

troubleshooting, start at the bare necessities.




 
Tried to mount minus the mount options

mount /dev/dsk/c4t2d0s7 /usr/bigdisk
mount: /dev/dsk/c4t2d0s7 is not this fstype.

Still to no avail
 
My understanding of this error:
mount: /dev/dsk/c4t2d0s7 is not this fstype.
is that the fstype that is expected by mount (by default as no -F <FSType> is present) is not what is on /dev/dsk/c4t2d0s7 . The expected (default) fstype is in the file /etc/default/fs .

Please try, and then post the results of:
fsck -m /dev/rdsk/c4t2d0s7


I hope that helps.

Mike
 
You might also try fstyp -v on the various slices to see if any FS types are identified.

Annihilannic.
 
Thanks for the comments and suggestion. I ran out of time in trying to recover this data and had to just make a newfs on it, to get my mail server running once again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top