Re: add disk to LVM

2021-06-27 Thread Stefan Monnier
[...] > `vgchange -an` usually does the trick), but AFAIK there is standard ^ no Damn! > support for doing those things for you currently (and if you forget to [...] Ste

Re: add disk to LVM

2021-06-27 Thread Stefan Monnier
> What would be the way to do that using LVM ? I think you already had the answers you need, but I'll just point out that it is possible to use LVM on a "removable" disk (a disk which you sometimes take out of a machine to put into another), and as a matter of fact, it would make a fair bit of sen

Re: add disk to LVM

2021-06-27 Thread mick crane
On 2021-06-27 16:35, Greg Wooledge wrote: cool -- Key ID4BFEBB31

Re: add disk to LVM

2021-06-27 Thread Greg Wooledge
On Sun, Jun 27, 2021 at 04:01:07PM +0100, mick crane wrote: > got it about the labels/UUIDs I think but I think I'm confusing myself here. > The file system doesn't know anything about the LVM ? > The LVM takes care about how and where data is stored on disk. > What is lv root the file system think

Re: add disk to LVM

2021-06-27 Thread mick crane
On 2021-06-27 14:03, David wrote: On Sun, 27 Jun 2021 at 22:10, mick crane wrote: root@pumpkin:~# lsblk -f NAME FSTYPE FSVERLABEL UUID FSAVAIL FSUSE% MOUNTPOINT sda ├─sda1 ext21.00a3fac2b-e17e-4be0-8cde-c1d2a3edbc2c 68.6M66% /boot ├─sda2 └─sda5 LVM2_member

Re: add disk to LVM

2021-06-27 Thread David
On Sun, 27 Jun 2021 at 22:10, mick crane wrote: > root@pumpkin:~# lsblk -f > NAME FSTYPE FSVERLABEL UUID > FSAVAIL FSUSE% MOUNTPOINT > sda > ├─sda1 ext21.00a3fac2b-e17e-4be0-8cde-c1d2a3edbc2c >68.6M66% /boot > ├─sda2 > └─sda5 LVM2_member LVM2 001 xXXSc

Re: add disk to LVM

2021-06-27 Thread mick crane
On 2021-06-27 11:43, David wrote: On Sun, 27 Jun 2021 at 19:00, mick crane 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 FilesystemSi

Re: add disk to LVM

2021-06-27 Thread Andrei POPESCU
On Du, 27 iun 21, 13:30:06, to...@tuxteam.de wrote: > On Sun, Jun 27, 2021 at 11:10:21AM +0100, mick crane wrote: > > > and mount it on a directory at boot ? > > Wait: this is orthogonal to the above. Usually, whatever you want > mounted at boot is in /etc/fstab (or, perhaps, in some systemd > un

Re: add disk to LVM

2021-06-27 Thread mick crane
On 2021-06-27 12:30, to...@tuxteam.de wrote: On Sun, Jun 27, 2021 at 11:10:21AM +0100, mick crane wrote: On 2021-06-27 10:32, to...@tuxteam.de wrote: > >>/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 ha

Re: add disk to LVM

2021-06-27 Thread tomas
On Sun, Jun 27, 2021 at 11:10:21AM +0100, mick crane wrote: > On 2021-06-27 10:32, to...@tuxteam.de wrote: > > > >>/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. > > > >OK. Not n

Re: add disk to LVM

2021-06-27 Thread David
On Sun, 27 Jun 2021 at 19:00, mick crane 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 > FilesystemSize Used Avail Use% Mounted

Re: add disk to LVM

2021-06-27 Thread mick crane
On 2021-06-27 10:32, to...@tuxteam.de wrote: /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. OK. Not necessarily in fstab. It depends on what you want to do. Cheers - t Thanks,

Re: add disk to LVM

2021-06-27 Thread tomas
On Sun, Jun 27, 2021 at 09:59:50AM +0100, mick crane 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 > FilesystemSize Used Avail

add disk to LVM

2021-06-27 Thread mick crane
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 FilesystemSize Used Avail Use% Mounted on udev 7.8G 0 7.8G 0% /dev