hello,
Please bear in mind that I don't know what I'm doing.
It looks like when I installed debian on this PC I requested a LVM.
I'd forgotten about that.
root@pumpkin:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 1.5M 1.6G 1% /run
/dev/mapper/pumpkin--vg-root 28G 8.4G 18G 33% /
tmpfs 7.8G 36M 7.8G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
/dev/sda1 236M 155M 69M 70% /boot
/dev/mapper/pumpkin--vg-home 176G 18G 150G 11% /home
tmpfs 1.6G 60K 1.6G 1% /run/user/1000
/dev/sdb1 1.8T 62G 1.7T 4%
/media/mick/a8a2440a-0739-48b3-aa85-29715dbf817d
/dev/sdb1 is one whole disk ext4 partition that I usually unmount and
mount in a directory in /home to save files in. I should probably have
added it to fstab.
What would be the way to do that using LVM ?
I was concerned to be able to take out sdb and put it in another PC.
Would the sensible thing be to make sdb1 part of the logical group, make
a new logical volume and make a link to that from a directory inside
/home or to extend vg-home? I was thinking that if I extend home you
wouldn't know if some files were on one disk and some on another.
Or how would I move the whole of /home to /dev/sdb1 and make it as new
logical volume mounted on /home?
mick
--
Key ID 4BFEBB31