1830354 Members
2437 Online
110001 Solutions
New Discussion

Adding Second HDD

 

Adding Second HDD

Hi,
I had installed a additional hard drive on my Linux 7.2 server.when I try to access it says Unable to seek partition error.So plz let me the excat process how to Install a second HDD on working server.I have already 3 SCSI hdd installed,and this is fourth one which I want to install it.

Thanks
Turishi
7 REPLIES 7
yongye_1
Advisor

Re: Adding Second HDD

Hi Turishi,

Normally the 4th hdd will be assigned to /dev/sdd.
Issue fdisk /dev/sdd command and create the partitions you want. After that you maybe need to reboot the server to have the change taken effect. And then you should create file system on the new partition. Such as issue mkfs -t ext2 -j /dev/sdd1 for create the ext3 file system on the first partition.
And you could mount it for using.
mount -t ext3 /dev/sdd1 /any-diretory

Yongye

Re: Adding Second HDD

Hi Yonge,

I did same as u mentioned but after that only it gives partition seek error.
So plz let me know waht all I can check to make sure that is it configured in right way.

thanks
turishi.
Marco Di Ianni
Frequent Advisor

Re: Adding Second HDD

try to use
# cfdisk /dev/sdxx

This is similar to fdisk but is a semi-graphical tool.
I prefer use this for manage partition tables!
Rick Garland
Honored Contributor

Re: Adding Second HDD

Use of the fdisk/cdisk utility is required to create the partitions and assign the type.

Once completed you can run the mke2fs utility on these new partitions to make the filesystem on the respective partition. If using ext3 use the -j option. Be sure to use the correct filesystem creation command based on the filesystems you are using.

Rick Garland
Honored Contributor

Re: Adding Second HDD

Use of the fdisk/cdisk utility is required to create the partitions and assign the type.

Once completed you can run the mke2fs utility on these new partitions to make the filesystem on the respective partition. If using ext3 use the -j option. Be sure to use the correct filesystem creation command based on the filesystems you are using.

From here add the requisite entry in the /etc/fstab and mount

Johannes Krackowizer_1
Valued Contributor

Re: Adding Second HDD

hi,

try fdisk /dev/sd
type "o" to create a new empty partition table.
create new partitions with "n".
set the id to 83 (Linux) with "t" or 82 (Linux Swap) or 8e (Linux LVM) or fd (Linux raid auto), ...
type "w" to write your selection.

Then you have to create the filesystem with (mkfs.ext2 /dev/sd, mkfs.ext3 ...,,mkfs.reiserfs ..., mkswap ..., ...)

now it's ready to mount the partition
"First off, I'd suggest printing out a copy of the GNU coding standards, and NOT read it. Burn them, it's a great symbolic gesture." (Linus Torvalds)
xyko_1
Esteemed Contributor

Re: Adding Second HDD

Hi Turishi,

first of all it's important to determine your real configuration.

Please send us the output of dmesg, /proc/scsi/scsi, fstab.

Regards,
Xyko