added new hard drives

linux4life
Posts: 4
Joined: Tue Jun 03, 2014 12:10 am

added new hard drives

Postby linux4life » Thu Jun 12, 2014 10:40 pm

Hello again. I finally got around to adding more disks to my HDA. however I am seeing an issue being presented in a rather awkward way. I have a dell poweredge 2950 with a Dell perc5/i raid controller. it originally had 2 disks presented to the OS as 1 drive sda
(raid 1) and everything was fine

now I added 3 more drives in a new raid 5 array presented to the OS as sdb with partition sdb1 I followed the guide for adding new disks https://wiki.amahi.org/index.php/Adding ... ects_Drive

ran

Code: Select all

hda-diskmount
and it looked well it mounted the new "drive" as disk2 all good right? well not exactly as now I have a random mount of disk1 with a 7GB partition

Code: Select all

fdisk -l Disk /dev/sda: 999.7 GB, 999653638144 bytes, 1952448512 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: dos Disk identifier: 0x0004e319 Device Boot Start End Blocks Id System /dev/sda1 * 2048 411647 204800 83 Linux /dev/sda2 411648 16943103 8265728 83 Linux /dev/sda3 16943104 1952448511 967752704 83 Linux Disk /dev/sdb: 1999.3 GB, 1999307276288 bytes, 3904897024 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: dos Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdb1 63 3904897023 1952448480+ 83 Linux
and the result of df -h is as follows

Code: Select all

df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 909G 863G 0 100% / devtmpfs 7.9G 0 7.9G 0% /dev tmpfs 7.9G 4.0K 7.9G 1% /dev/shm tmpfs 7.9G 572K 7.9G 1% /run tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup tmpfs 7.9G 88K 7.9G 1% /tmp /dev/sda1 190M 78M 98M 45% /boot none 4.0M 0 4.0M 0% /var/spool/greyhole/mem /dev/sda2 7.7G 18M 7.3G 1% /var/hda/files/drives/drive1 /dev/sdb1 1.8T 29G 1.7T 2% /var/hda/files/drives/drive2

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: added new hard drives

Postby bigfoot65 » Fri Jun 13, 2014 5:55 am

It appears you may have the second drive incorrectly identified in /etc/fstab. I believe /dev/sda2 is part of your OS drive so that's why it's small.

It should have already been mounted. You might want to remove that line or comment it out, then try adding the othe drive.

I don't have use for nor have experience with RAID, so I might be mistaken.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 36 guests