External disk


 
Thread Tools Search this Thread
Operating Systems Linux External disk
# 1  
Old 09-06-2010
External disk

Hi,

I connected a external hard disk to my linux machine(Redhat 5) and shared the external hard disk by using NFS. The problem is hard disk becoming read-only file system after some time, could some one please tell me the reason for it.

I created two partitions with ext3 filesystem in external hard disk.

Thanks,
Trimurtulu
# 2  
Old 09-06-2010
Read or write errors could cause the OS to give up on it and force it read-only, check for anything odd with 'dmesg'.
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 09-07-2010
Code:
lockd: cannot monitor 192.168.1.73
lockd: cannot monitor 192.168.1.73
sd 2:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
    Additional sense: Logical unit not ready, initializing command required
end_request: I/O error, dev sdc, sector 219678023
EXT3-fs error (device sdc1): ext3_get_inode_loc: unable to read inode block - inode=13734912, block=27459745
sd 2:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
    Additional sense: Logical unit not ready, initializing command required
end_request: I/O error, dev sdc, sector 219678031
EXT3-fs error (device sdc1): ext3_get_inode_loc: unable to read inode block - inode=13734925, block=27459746
sd 2:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
    Additional sense: Logical unit not ready, initializing command required
end_request: I/O error, dev sdc, sector 219678031
EXT3-fs error (device sdc1): ext3_get_inode_loc: unable to read inode block - inode=13734924, block=27459746
lockd: cannot monitor 192.168.1.73


I tried e2fsck and it went fine, again I ran the command it shown file system is clean.
Now after sometime filesystem is again becoming read-only

Thanks,
Trimurtulu

Last edited by Scott; 09-07-2010 at 01:19 PM.. Reason: Code tags, please...
# 4  
Old 09-07-2010
It is because the disk is having read-errors. This is a hardware problem that the kernel treats as a potential disaster(which it is), hence forcing the partition read-only.

Is it always on the same blocks? If so, the disk itself is probably on the way out. If it's always on different sectors, it may just be random or power-related glitches.
This User Gave Thanks to Corona688 For This Post:
# 5  
Old 09-07-2010
If I connect hard disk to other machine, will it work or do i need to format hard disk and copy back the data again.

---------- Post updated at 10:56 AM ---------- Previous update was at 10:53 AM ----------

what I need to do for making the hard disk to work.
# 6  
Old 09-07-2010
Without more info from you it's very hard to tell. You haven't even told us how the disk is connected to the machine(yes, NFS, but it must be connected to some machine or other for nfs to work..)

Is it always on the same blocks or nearby? If so, the disk itself is probably on the way out. If it's never the same sectors, it may be controller-related, port-related, or power-related glitches.
This User Gave Thanks to Corona688 For This Post:
# 7  
Old 09-08-2010
hi,

I am connecting external hard disk to linux server(redhat 5), errors are repeating on different locations.

Now I am planning to go for the below things

1)Formatting the hard disk and copying data again.
2)connecting the hard to other server.

Which of the two options will fix the issue.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Hardware

Unrecognized disk label on my external HD

Hi everyone, I have an external hard drive and I accidentally deleted the partition table. Can I restore my files? If I try to run the f-disk command this is what it says Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Units =... (1 Reply)
Discussion started by: Sampa
1 Replies

2. Red Hat

Disk in Linux machine are internal or external

How to check whether the disk in linux machine are internal or external ( from nas or san). How to identify internal(local) and external disks. Following are some details of my server. Thanks. #df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 15G 3.5G 10G... (2 Replies)
Discussion started by: salmanraza
2 Replies

3. Red Hat

Installation RHEL in External hard disk.

Hi all. Can i install RHEl5 in a external hard disk, work on lenovo T60 laptop. Plz reply me. Tell me the process. (2 Replies)
Discussion started by: nagaraju.kappal
2 Replies

4. Hardware

Unrecognized disk label of a external HD

I have a external HD that I can't seem to open. When I try to open it with gparted it says unrecognized disk. When I run gparted from the terminal this is what it says. ~ $ sudo gparted ====================== libparted : 2.2 ====================== /dev/sdb: unrecognised disk label When I... (18 Replies)
Discussion started by: cokedude
18 Replies

5. Filesystems, Disks and Memory

internal disk and external disk question

Hello, We are running sun solaris and it is connected to SAN storage. How do I find what are the disks are internal and what are the disks are connected to SAN? (0 Replies)
Discussion started by: mokkan
0 Replies

6. SuSE

External USB disk cannot be mounted

Hi, I am running Suse on a fujitsu server. The problem is that it will no fully load the usb external disk. When plugged in, dmesg shows that indeed a usb disk has been plugged in ,but gives no devpath e.g sda,sdb. lsusb shows the disk vendor (western digital) but nothing else.Whats goin on... (2 Replies)
Discussion started by: ulemsee
2 Replies

7. Filesystems, Disks and Memory

external USb hard disk reading problem

Hello, I am facing a hard disk drive reading problem since last one month and not able to resolve it. The thing is I purchased external USB hard disk (seagate 40 gb) 2 years back.And uptil now its working perfectly fine. But suddenly one day I am not able to read my data. The problem goes like... (1 Reply)
Discussion started by: albertspade
1 Replies

8. HP-UX

Can't access external disk after reboot

Hi, I have an HP RX4640 running HP-UX 11iv3 with two internal disks and its connected to a HP disk system 2400 with fibre cable. If the storage system is online before the server is on then the server can't find the disks. And I get the following error messages: vgchange: Warning: Couldn't... (3 Replies)
Discussion started by: hoff
3 Replies

9. UNIX for Dummies Questions & Answers

How to check total allocated external disk in unix

hi guys im new here, would like to ask what is the syntax or how could i check the total allocated external disk in HP-UX??? ive check the allocated size using SAM, but in some servers the SAM hangs when checking the disk space. So i would like to know using command line. thanks (3 Replies)
Discussion started by: gob23g
3 Replies

10. UNIX for Dummies Questions & Answers

Install Solaris on External Firewire Disk

Hello All, I have a laptop running windows 2000 and I have a External Firewire Hard Disk of 60 GB. Now my question is, " Is it possible to install Solaris 8 on this external Firewire Hard Disk". When I tried installing, It did not find the external Firewire Disk, the only partition information,... (1 Reply)
Discussion started by: sanjay92
1 Replies
Login or Register to Ask a Question