1827279 Members
3474 Online
109717 Solutions
New Discussion

Check Failed Disk

 
Nobody's Hero
Valued Contributor

Check Failed Disk

I am running RedHat9.

My root system seems OK.
However I have a 40Gbyte "/asu" area for data and it wont mount. I get:

# mount -a
mount: special device LABEL=/asu does not exist

Its not mounted now, but if I cd to /asu I can see all my data files, so it must be reading the disk. It just wont mount. any ideas?

cdrecord -- scanbus shows:
scsibus0:
0,0,0 0) *
0,1,0 1) 'HP ' '9.10GB C 68-BX05' 'BX05' Disk
0,2,0 2) 'HP ' 'C1537A ' 'L105' Removable Tape
0,3,0 3) *
0,4,0 4) 'SEAGATE ' 'ST336607LW ' '0006' Disk
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus2:
2,0,0 200) 'TEAC ' 'CD-540E ' '1.0A' Removable CD-ROM
2,1,0 201) *
2,2,0 202) *
2,3,0 203) *
2,4,0 204) *
2,5,0 205) *
2,6,0 206) *
2,7,0 207) *
I can see both disk drives. 0,1,0 is my root disk.
UNIX IS GOOD
8 REPLIES 8
Gopi Sekar
Honored Contributor

Re: Check Failed Disk

Did you update any filesystem information for /asu?

It looks to be originally the partition is labelled as /asu and it is referred so in /etc/fstab. now I believe the label is modified or removed for the partition.

What is the partition where the /asu resides ? is it /dev/hdd1 or anything else?

Modify /etc/fstab and modify LABEL=/asu with actual partition name.

Regards,
Gopi
Never Never Never Giveup
Tvs
Regular Advisor

Re: Check Failed Disk

in the /etc/fstab instead of LABEL=/asu
give the device name like
/dev/dsk/......

and then try mountall
Nobody's Hero
Valued Contributor

Re: Check Failed Disk

Tried to change fstab entry to /dev/sdb1
/dev/sdb1 /asu ext3 defaults 1 2

got:

mount: /dev/sdb1 is not a valid block device


no luck.
UNIX IS GOOD
Ivan Ferreira
Honored Contributor

Re: Check Failed Disk

Post the results of the following commands:

mount

fdisk -l

You said that you can see the data files, you cannot warranty that you are reading the files from the disk that you want, maybe that files exists in the mount point, and may not be updated. That's why I need the results of the mount command, to find out if is really mounted.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Nobody's Hero
Valued Contributor

Re: Check Failed Disk

[root@rockfish_dev /]# mount
/dev/sda1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
UNIX IS GOOD
Nobody's Hero
Valued Contributor

Re: Check Failed Disk

[root@rockfish_dev /]# fdisk -l

Disk /dev/sda: 9100 MB, 9100044288 bytes
64 heads, 32 sectors/track, 8678 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 8678 8886256 83 Linux
[root@rockfish_dev /]#
UNIX IS GOOD
Ivan Ferreira
Honored Contributor

Re: Check Failed Disk

This is weird, from the cdrecord command, can be seend two disks. From the fdisk -l command, only one disks is shown.

The only disk mounted is /dev/sda1, at /, so /asu is not mounted, and you are accesing the data contained in the /asu directory, not the /asu filesystem.

There may be a problem with the disk, or the device special file was deleted. Try running:

mknod /dev/sdb b 8 16
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Matthew_50
Valued Contributor

Re: Check Failed Disk

I think your data write to /asu on the root disk, simply use `df -k /asu` to see if it's really use the root disk space.

Is your system halt or hang before like power failure, make sure you don't mount, force e2fsck to check the filesystem even it looks like clean, this may take awhile

# e2fsck -f /dev/sdb1

after check or fix, then try to mount again.