Re: adding a disk to a Volume group

2020-12-23 Thread tomas
On Wed, Dec 23, 2020 at 07:19:36AM +, mick crane wrote: > On 2020-12-23 03:37, Andy Smith wrote: > <..> > >e.g. if you install a drive and it shows up in your OS as /dev/foo > >of size 1TB, then: > > > ># pvcreate /dev/foo > ># vgcreate myvg /dev/foo > > > >Now you have a volume group called

Re: adding a disk to a Volume group

2020-12-22 Thread mick crane
On 2020-12-23 03:37, Andy Smith wrote: <..> e.g. if you install a drive and it shows up in your OS as /dev/foo of size 1TB, then: # pvcreate /dev/foo # vgcreate myvg /dev/foo Now you have a volume group called "myvg" with ~1TB (some space reserved for metadata) available for allocation. This

Re: adding a disk to a Volume group

2020-12-22 Thread Andy Smith
Hello, On Tue, Dec 22, 2020 at 11:10:20PM +, mick crane wrote: > On 2020-12-22 22:19, Michael wrote: > >- pvcreate to add a partition to a pool of physical volumes […] > I have only skimmed reading the fine manual and other things but I'm > guessing that if the partition is full I'll

Re: adding a disk to a Volume group

2020-12-22 Thread mick crane
On 2020-12-22 22:19, Michael wrote: On Tuesday, December 22, 2020 10:58:14 PM CET, mick crane wrote: You mean like RTFM or something ? indeed, i had something like this in mind... ;) agreed, the quality of man pages is not, what it used to be back in the day, when i was young, but lvm is

Re: adding a disk to a Volume group

2020-12-22 Thread elvis
On 23/12/20 7:58 am, mick crane wrote: On 2020-12-22 21:04, Michael wrote: On Tuesday, December 22, 2020 1:26:36 PM CET, elvis wrote: The LVM howto is your friend there are also plenty of man pages! greetings... You mean like RTFM or something ? The man pages generally assume you know

Re: adding a disk to a Volume group

2020-12-22 Thread Michael
On Tuesday, December 22, 2020 10:58:14 PM CET, mick crane wrote: You mean like RTFM or something ? indeed, i had something like this in mind... ;) agreed, the quality of man pages is not, what it used to be back in the day, when i was young, but lvm is old, and hence the man pages provide

Re: adding a disk to a Volume group

2020-12-22 Thread mick crane
On 2020-12-22 21:04, Michael wrote: On Tuesday, December 22, 2020 1:26:36 PM CET, elvis wrote: The LVM howto is your friend there are also plenty of man pages! greetings... You mean like RTFM or something ? The man pages generally assume you know why you are reading them. I've noticed a

Re: adding a disk to a Volume group

2020-12-22 Thread Michael
On Tuesday, December 22, 2020 1:26:36 PM CET, elvis wrote: The LVM howto is your friend there are also plenty of man pages! greetings...

Re: adding a disk to a Volume group

2020-12-22 Thread elvis
On 21/12/20 4:27 pm, mick crane wrote: On 2020-12-20 20:38, Charles Curley wrote: On Sun, 20 Dec 2020 19:05:45 + mick crane wrote: It's a more or less new bullseye installation. The installer kindly set up a Volume Group and added Logical Volumes of a couple of the partitions on the

Re: adding a disk to a Volume group

2020-12-21 Thread Michael Stone
On Sun, Dec 20, 2020 at 01:38:16PM -0700, Charles Curley wrote: * Are you adding the new disk permanently or as removable media? If the latter, put a separate VG on it. Or don't bother. The reason I suggest this is if the new disk is removable, having the same VG span both disks may make the

Re: adding a disk to a Volume group

2020-12-20 Thread mick crane
On 2020-12-20 20:38, Charles Curley wrote: On Sun, 20 Dec 2020 19:05:45 + mick crane wrote: It's a more or less new bullseye installation. The installer kindly set up a Volume Group and added Logical Volumes of a couple of the partitions on the disk with the OS on it. I want to add

Re: adding a disk to a Volume group

2020-12-20 Thread Charles Curley
On Sun, 20 Dec 2020 19:05:45 + mick crane wrote: > It's a more or less new bullseye installation. > The installer kindly set up a Volume Group and added Logical Volumes > of a couple of the partitions on the disk with the OS on it. > I want to add another disk to use for data. A couple of

Re: adding a disk to a Volume group

2020-12-20 Thread deloptes
mick crane wrote: > I'll want to make an extended partition of the whole disk first with > fdisk. > but not sure the order I need to do things in after that. > Can see what VG is called with "vgdisplay" > will "vgextend my_VG /dev/sdx1" > sort out making the Physical Volume and the Logical Volume