This video walks the user through how to expand a storage volume on a NetWitness VM.
Naushad, another great video! I'm curious if there is any difference between using fdisk versus parted. I've always used that and prefer to stick with that unless there is a reason not to. The steps I take:
- parted /dev/sdb (from your example)
- p (to see what the total folder size is
- mklabel gpt
- unit GB (or TB, etc.)
- mkpart primary 0.00 60.0 (second number comes from the result of "p" above)
- set 1 lvm on (assuming this is the only partition)
I assume it's probably just personal preference, but I wanted to make sure that there isn't anything the two functions do differently.
It's more than personal preference although I typically do use it... fdisk will only support partitioning of disks < 2 TB whereas parted and its UI counterpart gparted will support > 2 TB disks. I should have mentioned that in the video but typically day to day I'm dealing with expanding disks less than 2 TB thus I default to using fdisk. However, defaulting to using parted as you have is the better alternative as it will support both with the GPT partition table whereas the MBR partition table built by fdisk will be limited to 2 TB volumes per partition.
Retrieving data ...