Changes

Jump to: navigation, search

OPS235 Lab 5 - CentOS7 - SSD

520 bytes added, 17:10, 13 June 2016
no edit summary
#Issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">fdisk /dev/vda</span></code></b><br>(or ''fdisk /dev/sda'' if the previous command didn't work)
# Issue the following command to install the '''ssm''' command: <b><code><span style="color:#3366CC;font-size:1.2em;">yum install system-storage-manager</span></code></b>
# Issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">ssm list</span></code></b>. Take a few moments to read note the volume group, physical volume and logical volume sections of the command output. This command combines this information as opposed to issuing the separate '''vgs''', '''pvs''', and '''lvs''' commands.# Check to see if there is any remaining space on your existing hard disk. Can you see any?# You can create a partition by using the fdisk command. Issue the following command: <br><b><code><span style="color:#3366CC;font-size:1.2em;">fdisk /dev/vda</span></code></b> (or fdisk /dev/sda if there is no /dev/vda).#At the '''fdisk ''' prompt issue the command: '''p'''. What does this do?
#Now issue the commands '''n''' (new partition), '''p''' (primary partition), '''3''' (i.e. next available partition number). When prompted for initial block, '''press enter to accept the default beginning block size''', and '''type: +2G''' at ending block (create 2GB for partition) and '''press enter'''.
#At the fdisk prompt, issue the command '''p''' to review the partition information, then type '''w''' to save partition table and exit (ignore WARNING message).
13,420
edits

Navigation menu