1829154 Members
2459 Online
109986 Solutions
New Discussion

Error while mount

 
prasathc
Frequent Advisor

Error while mount

Hi All
i have a 9000/800/k580, with 11.00. When i try to give " mountall ". It's giving the following error like
# mountall
mountall: /dev/dsk/c0t5d0 has to be fsck'd
mountall: diagnostics from fsck
vxfs fsck: sanity check failed: Cannot open /dev/dsk/c0t5d0: Device busy
mountall: cannot fsck /dev/dsk/c0t5d0
mountall: diagnostics from fsck
cannot open device /dev/dsk/c0t5d0
file system check failure, aborting ...
mountall: /dev/dsk/c0t5d0 failed in fsck
mountall: /dev/dsk/c0t5d0 cannot be mounted

I have critical and OS depots are there in that logical volume. Anybody can help me out to sort out this problem.

Thanks in Advance
Prasath C
23 REPLIES 23
James R. Ferguson
Acclaimed Contributor

Re: Error while mount

Hi:

Use 'mount -a' in lieu of 'mountall'. 'mountall' performs an 'fsck' and since your filesystems are already active, you're getting the "complaint".

Regards!

...JRF...
Sukant Naik
Trusted Contributor

Re: Error while mount

Hi prasathc,

You need to run fsck first.

After that do
# mount -a
Who dares he wins
prasathc
Frequent Advisor

Re: Error while mount

Hi
results for
#fsck -y /dev/dsk/c0t5d0
cannot open device /dev/dsk/c0t5d0
file system check failure, aborting ...

#mount -a
mount:: Device busy
mount: /dev/dsk/c0t4d0 is already mounted on /build_team
mount: /dev/vg01/lvol1 is already mounted on /y2kspace
mount: /dev/vg00/proto is already mounted on /proto
mount: /dev/vg00/VTS is already mounted on /VTS
mount: /dev/vg00/lvroot is already mounted on /tahoe2
mount: /dev/vg00/lvol8 is already mounted on /var
mount: /dev/vg00/lvol7 is already mounted on /usr
mount: /dev/vg00/lvol6 is already mounted on /opt
mount: /dev/vg00/lvol5 is already mounted on /home
mount: /dev/vg00/lvol4 is already mounted on /tmp
mount: /dev/vg00/lvol1 is already mounted on /stand

what i have to do next

Thanks in Advance
Prasath C
James R. Ferguson
Acclaimed Contributor

Re: Error while mount

Hi:

Use the raw device --> /dev/rdsk/c0t5d0

Regards!

...JRF...
prasathc
Frequent Advisor

Re: Error while mount

James
I am facing the same error
# fsck -y /dev/rdsk/c0t5d0
cannot open device /dev/rdsk/c0t5d0
file system check failure, aborting ...

Regards
Prasath C
James R. Ferguson
Acclaimed Contributor

Re: Error while mount

Hi:

Verify that you can see the device:

# diskinfo /dev/rdsk/c0t5d0

Regards!

...JRF...
prasathc
Frequent Advisor

Re: Error while mount

James

diskinfo /dev/rdsk/c0t5d0
SCSI describe of /dev/rdsk/c0t5d0:
vendor: SEAGATE
product id: ST39173WC
type: direct access
size: 0 Kbytes
bytes per sector: 0

this is the details i got, which means the disk damaged seriously any chance to make it up.

Thanks in Advance
Prasath C
Sanjay_6
Honored Contributor

Re: Error while mount

Hi,

Looks like the disk is faulty. Size is shown as 0 bytes. Try a reboot and see if you can get back the disk back. If not, get a replacement.

Hope this helps.

Regds
Martin Johnson
Honored Contributor

Re: Error while mount

Check to see if you are getting hardware errors. This could be a hardware problem.
James R. Ferguson
Acclaimed Contributor

Re: Error while mount

Hi (again):

Yes, it appears that the disk may have faulted. 'diskinfo' is a good diagnostic for this determination.

Regards!

...JRF...
prasathc
Frequent Advisor

Re: Error while mount

Hi All

Is there any other way to get the data safely from that disk.

Thanks in Advance
S.K. Chan
Honored Contributor

Re: Error while mount

I don't think so diskinfo is return 0 size can mean 2 things
1) disk is not supported
2) disk is faulty
In you case since the disk was working before so it's more likely it's faulty. You need to run a final check to make sure it's really faulty. Use "cstm" and check it's status.
# cstm
cstm> map
cstm> sel dev
cstm> info
cstm> infolog
If it's faulty, you can't get the data back.
Patrick Wallek
Honored Contributor

Re: Error while mount

If your disk is bad, fsck is not working on it, you can't mount it and diskinfo is showing its size as 0 bytes then I think you are pretty much out of luck.

There are services that specialize in recovering data from messed up media like fire damaged or water damaged, etc. but those guys are REAL EXPENSIVE.

Your only other recourse is to replace the disk and restore from backup.

You DO have a backup, right?
Trond Haugen
Honored Contributor

Re: Error while mount

Apart from all the answers that have been given he's my $0.2.
As mount complains about the disk-device-file I assume that's what is in fstab. The only whole disk partition I know about is HFS. A raw device should not be mounted.
A size of 0 for a 9Gb disk sure indicates a problem. You could try shutting down the system and cycling the power. I don't believe it will help but as you really want to access that data... Hope you have a backup.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
prasathc
Frequent Advisor

Re: Error while mount

Hi Chan here is my input for " CSTM ". I lost the hope.

Dev Last Last Op
Num Path Product Active Tool Status
=== ==================== ========================= =========== =============
1 8 Bus Adapter (580)
2 10 Bus Adapter (580)
3 10/0 SCSI Interface (15)
4 10/0.3.0 SCSI Disk (SEAGATEST39173
5 10/0.4.0 SCSI Disk (SEAGATEST39173
* 6 10/0.5.0 SCSI Disk (SEAGATEST39173 Information FAILED
* 7 10/0.6.0 SCSI Disk (SEAGATEST39173 Information Successful
8 10/4 Bus Adapter (500)
9 10/4/0 NIO Terminal Multiplexor
10 10/8 SCSI Interface (14)
11 10/8.6.0 SCSI Tape (QUANTUMDLT7000
12 10/12 Core I/O Adapter (44)
13 10/12/0 Centronics Interface (44)
14 10/12/5 SCSI Interface (44)
15 10/12/5.0.0 SCSI Tape (HPC1533A)
16 10/12/5.2.0 SCSI Disk (TOSHIBACD-ROM)
17 10/12/6 HSC LAN Interface (44)
18 10/12/7 Built-in Keyboard/Mouse (
19 10/16 Bus Adapter (500)
20 32 CPU (5b6)
21 34 CPU (5b6)
22 49 MEMORY (32)
Ruediger Noack
Valued Contributor

Re: Error while mount

Hi,

I think your last chance ist power off and power on this disk (or the whole box, not only reboot the box!).
In the past it was sometimes successfull for me. But also if it works I strongly suggest to save the data from this disk and replace the disk.

Ruediger
Martin Johnson
Honored Contributor

Re: Error while mount

When you power off, check all the cables. Sometimes it is just a loose cable.
Sanjay_6
Honored Contributor

Re: Error while mount

Hi,

If the disk still says Size as 0 bytes, you cannot get any data from that disk. Hope you have a mirror copy. If not, search for the last backup of the data from that disk.

Hope this helps.

Regds
pap
Respected Contributor

Re: Error while mount

Hi,
Try to run dd for simple disk check befoire shgutting the machine.

This will atleast give you an idea regarding disk functionality.

run following command.

dd if=/dev/rdsk/cxtydz of=/dev/null

specify suitable block size..


If this runs successfulyy then your disk can be considedred OK.
"Winners don't do different things , they do things differently"
Sandip Ghosh
Honored Contributor

Re: Error while mount

Sometimes what happened, if it is running for long time, it doesn'n want to spin after a power recycle. If possible take out the disk and give it a mild shock and again power it up.
If it comes up take up the backup asap.

Sandip
Good Luck!!!
prasathc
Frequent Advisor

Re: Error while mount

Hi
This is the o/p of dd if=/dev/rdsk/c0t5d0 of=/dev/null

dd read error: Invalid argument
0+0 records in
0+0 records out

and also i have disconnected and gave a miled shock, still i am facing this problem.

Thanks
Prasath C
Luc Bussieres_1
Trusted Contributor

Re: Error while mount

The error you got with the dd command is normal since the disk is really toasted.
The output of a diskinfo with a 0 Bytes size already told that the disk was bad so the dd command could not work. You usually use the dd command only when diskinfo return the correct info with the real size of the disk. The dd command will now try to read all the disk to make sure there is no I/O errors while reading it.

In your case the disk is completly unreadable that's why the diskinfo return a size of 0 Bytes
Roberto Arias
Valued Contributor

Re: Error while mount

Hello, the disk is down.Replace this. This is the true.

regards
The man is your friend