Difference between revisions of "Adding a new disk drive to Centos 6"

From vpsget wiki
Jump to: navigation, search
(Created page with "The disk drives in OS named hd* or sd*. In system with only one HDD you should receive following: <pre> # ls /dev/sd* /dev/sda /dev/sda1 /dev/sda2 </pre> Now connect new HDD...")
 
Line 1: Line 1:
 +
'''Installing a new HDD'''
 
The disk drives in OS named hd* or sd*. In system with only one HDD you should receive following:
 
The disk drives in OS named hd* or sd*. In system with only one HDD you should receive following:
 
<pre>
 
<pre>
Line 11: Line 12:
 
</pre>
 
</pre>
 
The new HDD is assigned sdb with no partitions. A new partitions can be created on the new HDD and then mounted or the disk can be added to an existing volume group as a physical volume.<br/>
 
The new HDD is assigned sdb with no partitions. A new partitions can be created on the new HDD and then mounted or the disk can be added to an existing volume group as a physical volume.<br/>
 +
'''Creating partitions'''

Revision as of 14:49, 15 April 2013

Installing a new HDD The disk drives in OS named hd* or sd*. In system with only one HDD you should receive following:

# ls /dev/sd*
/dev/sda  /dev/sda1  /dev/sda2

Now connect new HDD to the system. If it is visible to BIOS it will be automatically detected by OS.
After new HDD is installed output of the same system will be like this:

# ls /dev/sd*
/dev/sda /dev/sda1 /dev/sda2 /dev/sdb

The new HDD is assigned sdb with no partitions. A new partitions can be created on the new HDD and then mounted or the disk can be added to an existing volume group as a physical volume.
Creating partitions