Skip to content

Guide to partition a ISCSI physical disk volume without LVM in Linux

Notifications You must be signed in to change notification settings

thepercyj/iscsi-partition-disk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

iscsi-partition-disk

Guide to partition a ISCSI physical disk volume without LVM in Linux

Author: Aman Thapa Magar (Percy)

Introduction:

Tired of hassling though the internet to find the appropriate way to parititon iscsi disk ?. Here I present the simplest way to do it.

Step 1: List the physical partition table using the command below:

image

Step 2: List the mounted partition table using the below command

image

Step 3: Verify the contents of the disk such as your files as this important to ensure your data is present.

image

Step 4: Unmount the /dev/sdb parition from the root directory

image

Step 5: Verify the disk has been unmounted issuing the command below:

image

Step 6: Proceed to increase the physical disk from your SAN portal or any other hypervisor platform. In our case we added another 100 GB to make it a total of 200 GB disk.

Step 7: Rescan the iscsi target to acquire new disk size.

image

Step 8: Verify the disk size has been increased and listed in the volume.

image

Step 9: Mount the partiton to /mnt or any desired folder

image

Step 10: Verify the disk has been mounted to your desired folder in our case its mnt

image

Step 11: Resize the filesystem to reflect the new size in the partition

image

NOTE: Please use your partiton manager according to your filesystem, we used xfs file system for the above, for ext4 and other file systems please browse the internet for the suitable partition manager.

Step 12: Verfiy the disk size again to see the new reflected partition

image

Step 13: Verify the contents of the partition to ensure your data is present and untouched by the above operation.

image

Thats it, enjoy expanding parition with no issue, have a great day/night !!

About

Guide to partition a ISCSI physical disk volume without LVM in Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published