Install a New Internal Hard Disk

Install New Internal Hard Disk

Steps

1. sudo lshw -C disk
2. sudo lvm
        pvcreate /dev/sd?
        vgcreate VolGroupName
        lvcreate VolGroupName -n lvname001 -l 100%VG
        lvrename VolGroupName lvname001 LogicalVolName
3. sudo mkfs.ext4 /dev/VolGroupName/LogicalVolName
4. sudo mkdir -p  /VolGroupName/LogicalVolName
5. sudo mount /dev/VolGroupName/LogicalVolName /VolGroupName/LogicalVolName
6. sudo umount /dev/VolGroupName/LogicalVolName
7. sudo vi /etc/fstab
          /dev/VolGroupName/LogicalVolName /VolGroupName/LogicalVolName  ext4    defaults     0 0
8.


Reference Installing New Hard Disk

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s