I have a disk. I want to convert it to LVM, so I can add another disk to it -- to increase storage.
It is not a system disk or anything, it is formatted using xfs and just stores data.
Here is the info
/dev/sdc 932G 32G 900G 4% /gluster/bricks/1
Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
So what I wanted to do is add another physical disk and the system sees it as one.
Can anyone help with some simple steps without losing the data on there.
I did try pvcreate but I got the disk was mounted.
I kind of don't know what I am doing - so I thought I would reach out.
I mean it is not a system disks, it is just a extra disk that I want to convert to LVM, so I can extend it using another physical disk.
If I can provide more details then please let me know, I only provided the above 2 command outputs.
pvcreate
on/dev/sdc
would lose your data... set up LVM on a new drive, and then migrate data.