On Sun, 27 Jun 2021 at 19:00, mick crane <mick.crane@gmail.com> wrote:
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
Hi, the 'df' command shows information about the filesystems
it recognises. But only filesystems. So there's a lot of missing
information, that might be relevant to your question once we
understand exactly what it is. I'll attempt to answer anyway ...
Have a look at the output of 'lsblk -f' to get a comprehensive
display of how all your block devices are being used.
Also it would be helpful to understand your complete LVM
configuration, to see the output of 'vgs', 'pvs' and 'lvs' commands.
If your goal is to be able move the /dev/sdb drive between
different machines, the easiest way is that it should not be used by
LVM at all. That just means it should not participate in any
LVM configuration.
If that is the situation (and hopefully it is what you have, which
the additional information will confirm), then you can simply make
a mountpoint inside any of your other /dev filesystems above, and
use that mountpoint to mount any filesystem that is on /dev/sdb.
Such a mountpoint could be mentioned in /etc/fstab to provide
mount configuration including automounting if that is what you
want.