Re: I've done pvcreate to 4 of these drives but...

Lou Hafer <[email protected]> Sat, 8 Mar 2025 08:21:45 -0800
Newsgroups gmane.comp.archivers.amanda.user
Message-ID <[email protected]>
Gene,

     If hazy memory serves (years since I last did this setup), 
something like 'vgchange --activate <vgname>' is what you need next.

                           Lou

On 2025-03-08 5:04 a.m., gene heskett wrote:
> 
> On 3/7/25 23:10, Pieter Bowman wrote:
>> Try using a gpt partition table, in fdisk the command "g", will create 
>> an empty gpt partition table.
>>
>> Then you should be able to create a partition for the whole drive.
> 
> Done that for /dev/sde making it /dev/sde1, then pvcreated /dev/sda, / 
> dec/sdb, /dev/sdc and /dev/sdd, the first 4.
> 
> Then:root@amanda:/etc/lvm# vgcreate amandatapes /dev/sda /dev/sdb /dev/ 
> sdc /dev/sdd
>    Volume group "amandatapes" successfully created
> 
> except I can't find it. How do I "mount" it for use??  its not visible 
> in /dev nor the / filesystem..
> 
> root@amanda:/etc/lvm# vgscan
>    Found volume group "amandatapes" using metadata type lvm2
> 
> S/b something named amandatapes with 14.something TiB capacity
> 
> So it looks legit but its invisible??
> 
> I'd also nominate this as the blindingly brightest example of the most 
> obtuse man pages ever.  So I'm likely screwing this up and destroying a 
> kilobuck worth of drives.
> 
> Cheers, Gene Heskett, CET.
>