Help me!! "URGENT"
HEllo Everybody,
I was working on a Redhat 4.0 linux server. Actually I had to take backupin a External USB Harddisk. Essentially when i use mount command: [root@ABC /]#mount /dev/sdb1 on/ type ext 3 (rw) none on /proc type proc(rw) usbdevf on /proc/bus/usb type usbdevfs (rw) /dev/sda1 on/boot type ext3 (rw) none on /dev/pts type devpts (rw, gid=5, mode=620) none on /dev/shm type tmpfs (rw) /dev/sdc on/extdrive type ext2 (rw) Here extdrive is a internal hard disk installed 2-3 months before. NOw I make a new directory [root@ABC /]#mkdir /usbdrive Then used [root@ABC /]# mount /dev/sdc /usbdrive and start backup using cp command. COpying starts but stopped after 1GB. SOme error message appears (Actually) I don't know now. BUt when I use df -h to see the partion It give result FIle SYSTEM Size Used Avail use% Mounted on /dev/sdb1 67G 62G 2.0G 97% / /dev/sda1 99M 15M 79M 16% /boot none 502M 0 502M 0% /dev/shm WHEN I USED MOUNT COMMAND, IT GIVE [root@ABC /]#mount /dev/sdb1 on/ type ext 3 (rw) none on /proc type proc(rw) usbdevf on /proc/bus/usb type usbdevfs (rw) /dev/sda1 on/boot type ext3 (rw) none on /dev/pts type devpts (rw, gid=5, mode=620) none on /dev/shm type tmpfs (rw) /dev/sdc does not appear. when i used to see fstab [root@ABC /]#cat /etc/fstab LABEL=1 / ext3 defaults 1 1 LABEL=/Boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5, mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmps defaults 0 0 /dev/sda2 swap swap defaults 0 0 /dev/cdrom /mnt/cdrom /udf,iso9660 noauto,owner, kudzu, ro 0 0 /dev/fdo /mnt/floppy auto noauto,owner, kudzu 0 0 /dev/sdc /extdrive auto defaults 0 0 My problem is (i) when i used to "df -h" why /dev/sdc not appear. (ii) when i used to [root@ABC /]# mount /dev/sdc /extdrive, it gives mount: special device /dev/sdc does not exit. (iii) when i used to [root@ABC /]# mount /dev/sdc /usbdrive, it gives mount: special device /dev/sdc does not exit. However "ls command gives [root@ABC /]#ls bin dev extdrive home lib misc opt root tmp usb usr boot exthdd initrd lot+found mnt proc usbdrive var Kindly help me. |
it is likely that the bus reset and the external drive (once sdc) is now identified as something else (like sdd, or sde). check the output of 'fdisk -l' and/or consult 'dmesg' and/or /proc/scsi/scsi to see if it is listed.
|
/dev/sdc is a device. You cannot mount that. Or have it in /etc/fstab
You need to mount the partition eg /dev/sdc1 on the device Plug your disk in. As root do a Code:
fdisk -l Then you should be able to make a good guess as to which is your external disk. Then you can mount the partition you need. |
Quote:
Good evening from India. Actually i when tried to mount my external Harddisk [root@ABC /]# mount /dev/sdc1 /usbdrive OR [root@ABC /]# mount /dev/sdd1 /usbdrive I got a message mount: there is no such volume available. Kindly guide me once again. Yours Sincerely Learner.india |
Quote:
... And please tell us your distro (Ubuntu? Mandrake? etc) |
Quote:
HEllo rayford sir, Good Morning (i) I see through 'dmesg' command. it is 'sdc' partition is listed their. (ii) I saw it in /proc/scsi/scsi please tell me what do i do now? mount command does not success. [root@ABC /]#mount /dev/sdb1 on/ type ext 3 (rw) none on /proc type proc(rw) usbdevf on /proc/bus/usb type usbdevfs (rw) /dev/sda1 on/boot type ext3 (rw) none on /dev/pts type devpts (rw, gid=5, mode=620) none on /dev/shm type tmpfs (rw) please help. Learner.India |
disappointed no reply
|
Quote:
|
Quote:
Please don't do that! |
Quote:
And you've been given things to do/check, but haven't done them, asked for information and haven't provided it, and don't seem to be reading what others are telling you. Until you start doing that, don't expect others to give you more than you've already got. |
What we are suggesting is that you run the command "fdisk -l" and then post the output you observe to this forum. (This is what mine looks like right now:
[sdlor@Xray ~]$ fdisk -l Disk /dev/sda: 250.0 GB, 250000000000 bytes 255 heads, 63 sectors/track, 30394 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x41ab2316 Device Boot Start End Blocks Id System /dev/sda1 1 5 40131 de Dell Utility /dev/sda2 * 6 26996 216805207+ 7 HPFS/NTFS /dev/sda3 29933 30394 3711015 db CP/M / CTOS / ... /dev/sda4 26997 29932 23583420 4 FAT16 <32M Partition table entries are not in disk order Disk /dev/sdb: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0003aac7 Device Boot Start End Blocks Id System /dev/sdb1 * 1 25 200781 83 Linux /dev/sdb2 26 9729 77947380 8e Linux LVM [sdlor@Xray ~]$ |
Quote:
As mentioned before, plug your usb drive first and then post the output of fdisl -l |
Quote:
Quote:
Quote:
A good way to diagnose this would be to use "tail -f /var/log/messages" into an xterm. Leave it around so you can see it, and then attach the drive. Some info should be written in that window telling you that the drive has been attached and a few other things. Then mount the drive if it doesn't automount, start copying whatever and when it fails look at the log window again and see if there are errors or more info spitted on it. If you can't make sense of the relevant output, post it here. If this is the problem, then it could be faulty hardware (the driver or the usb ports for example), or a broken file system (less likely). Quote:
PS. Oh, and please, learner.india, be polite. We are human beings, not robots. We are volunteers, you don't pay us. Also, marking your thread as URGENT means nothing to us. In fact, most times I ignore threads that contain that word on the title, as most users around. So each time you use "URGENT" in the tittle of your thread you are decreasing your chances to get a helpful response. |
learner.india is disappointed...and left probably...!!!!
|
Hearing nothing from the OP, it's time to close this.
learner; If you are still with us, please send me an e-mail and tell me if you still want this thread open. |
All times are GMT -5. The time now is 05:45 PM. |