Saturday, 7 February 2015

[ubuntu] Installing 2 new HDDs topic






I need some help in installing 2 HDDs to a working system as I am getting errors partitioning and formatting the second drive.

I had two spare 1TB disks left over from my SAN when I upgraded it. Wanted to add these to an existing Ubuntu 14.10 machine which has 1 SSD already installed. So I added the 2 SATA disks there was already the CDRom and SSD attached so I used the next two SATA ports on the Motherboard, the system rebooted OK


Code:


sudo lshw -C disk

gave me

*_disk:0
logical disk /dev/sdb
PATRIOT 128GB SSD

*_disk:1
logical disk /dev/sdc
WDC 1TB Hard Disk

*_disk:
logical disk /dev/sda
WDC 1TB Hard Disk

so I proceeded with gparted, as the disks had previously been used in the SAN they were already partitioned (EXT3), I deleted all the existing partitions and created 1 primary partition on each which I formatted as EXT4. When trying to logout of gparted I got Error fsyncing/closing/dev/sdb:Input/Output error this wouldn't go with retry and the original screen still showed it was scanning. when I tried to ignore I got similar errors on sdc1 and scd.

I couldn't get back into gparted or use the onscreen shutdown, did


Code:


sudo shutdown now

and got the following sudo errors

sudo:unable to open /var/lib/sudo/jim/1
sudo:unable to execute /sbin/shutdown: Input/Output error

did an "engineer's reset" and it rebooted just fine, I checked the BIOS and it recognised the 3 hard disk drives

1st [SATA: SM-PATRIOT PS]
2nd [SATA: PS-WDC WD1001]
3rd [SATA: SS-WDC WD1001]

Only one of the ITB disks was recognised by the filemanager so I ran lshw again and gparted to re partition and format the second disk again. same results. Both disks were working OK when I took them out of the SAN so I don't know what to do next.

When I get the second disk recognised by the system, the aim is to set them up as a RAID combo as I have tons of space on the SAN and only wanted to add some space to the PC as the SSD takes too much looking after, moving stuff to the SAN to prevent it filling up, so I'll keep the SSD for system tasks and a few other performance things I want but move all the /home/ directories to the HDD/RAID









No comments:

Post a Comment