LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Removing a Hard Drive (http://www.linuxquestions.org/questions/linux-software-2/removing-a-hard-drive-783962/)

scu98rkr 01-22-2010 03:47 AM

Removing a Hard Drive
 
Hi I did an installation of SUSE 11.2 on a new SCSI hard drive.

Keeping the old hard drive separate.

I remembered there was some info on the old hard drive I wanted.

I added this to the system and mounted a partition. I then copied the data over. Then I umounted the partition rebooted the machine and removed the hard drive.

However the machine will now not boot without this hard drive even though its not mounted. Not sure what the error message im given means I think it could be trying to fchk it.

Do I need to do something more like remove /dev/sdd ?

Thanks Roger

zordrak 01-22-2010 04:11 AM

Quote:

Originally Posted by scu98rkr (Post 3836219)
However the machine will now not boot without this hard drive even though its not mounted. Not sure what the error message im given means I think it could be trying to fchk it.

How can we tell you what it means if you don't tell us what it says?

pixellany 01-22-2010 04:12 AM

OK--we'll close the other one

pixellany 01-22-2010 04:22 AM

Removing the device file (eg /dev/sdd) will not do anything. But this raises a question: What are sda, sdb and sdc?

The only thing I can think of is that the order in which drives are detected by the BIOS has changed. Boot up from any Linux Live CD and run "fdisk -l" and post the results here.

scu98rkr 01-22-2010 05:08 AM

Ok by pressing control-c during the error messages I have got the machine to boot.

However it now hasnt mounted some of the hard drives possibly because it didnt finish checking them ?

I did an fdisk -l

If I put the other scsi back in it boots perfectly.


Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sda doesn't contain a valid partition table

Disk /dev/sdb: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sdc: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/sdd: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sdd doesn't contain a valid partition table

Disk /dev/sde: 73.4 GB, 73407868928 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000274a0

Device Boot Start End Blocks Id System
/dev/sde1 * 1 3265 26226081 83 Linux
/dev/sde2 3266 4309 8385930 82 Linux swap / Solaris
/dev/sde3 4310 8924 37069987+ 83 Linux

Disk /dev/sdf: 799.6 GB, 799614697472 bytes
255 heads, 63 sectors/track, 97214 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdf1 1 97214 780871423+ 83 Linux

Disk /dev/sdg: 799.6 GB, 799614697472 bytes
255 heads, 63 sectors/track, 97214 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdg1 1 97214 780871423+ 83 Linux

Disk /dev/sdh: 799.6 GB, 799614697472 bytes
255 heads, 63 sectors/track, 97214 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdh1 1 97214 780871423+ 83 Linux


Ignore sda-sdd I am going to make a software raid array out of them.

sdd used to be the SCSI drive but I psychically dont have room for it so it needs to go.

sdf-sdh are a Hardware Raid array connected via fibre obtic cable.

The only things that have mounted are
/dev/sde1 * 1 3265 26226081 83 Linux
/dev/sde2

sde3 - /home
sdf - /home0
sdg - /home1
sdh - /home2
have failed to mount.

If I try mount -a it says /dev/pts busy.


All times are GMT -5. The time now is 04:43 PM.