Difference between revisions of "SUNScholar/Upgrading/Hardware/Add a New Disk"

From Libopedia
Jump to navigation Jump to search
Line 16: Line 16:
 
==Step 2==
 
==Step 2==
 
Create a linux partition on the new disk.
 
Create a linux partition on the new disk.
 +
 +
Assuming that you identified the new disk '''/dev/sdb''', from step 1 above, then type the following to create a single linux partition on the new disk;
 +
mkpart /dev/sdb
  
 
==Step 3==
 
==Step 3==

Revision as of 18:39, 8 February 2014

Back to Upgrading Hardware

These guidelines are very brief and require someone with Linux experience to execute correctly.

Step 1

Determine the kernel hardware label for the new disk.

After connecting the new disk to the server and rebooting, login to the server using a console and type;

sudo fdisk -l

This command will list all the disks attached and the kernel label used.

Step 2

Create a linux partition on the new disk.

Assuming that you identified the new disk /dev/sdb, from step 1 above, then type the following to create a single linux partition on the new disk;

mkpart /dev/sdb

Step 3

Make a linux filesystem on the new disk.

Step 4

Make a mount point on the linux file system for the new disk.

Step 5

Mount the new disk to the mount point on the linux file system.

Definitions

References