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

gene heskett <[email protected]> Wed, 6 Aug 2025 12:37:46 -0400
Newsgroups gmane.comp.archivers.amanda.user
Message-ID <[email protected]>
On 3/8/25 11:21, Lou Hafer wrote:
> Gene,
>
>     If hazy memory serves (years since I last did this setup), 
> something like 'vgchange --activate <vgname>' is what you need next.
>
>                           Lou
blew all that away, created a myvg of 16.69TiB and managed to create a 
stripped 15TiB in that.  Seems to work, mounts as /dm-0 and I copied the 
/etc tree to it ok then deleted it ok. So I think this problem is 
solved, but that leaves amanda using the u-sd for it database storage 
and I don't recall how big that was when it was previously on spinning 
rust on this machine. The bpi-m5's come with a 16G eMMC chip which I 
don't think is actually used but lsblk says:
mmcblk1                         179:32   0  14.6G  0 disk
mmcblk1boot0                    179:64   0     4M  1 disk
mmcblk1boot1                    179:96   0     4M  1 disk
while inspecting it with fdisk shows no signs of the mmvblk1boot thingy's
fdisk /dev/mmcblk1

Welcome to fdisk (util-linux 2.39.3).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table.
Created a new DOS (MBR) disklabel with disk identifier 0x75f202df.

Command (m for help): p
Disk /dev/mmcblk1: 14.56 GiB, 15634268160 bytes, 30535680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x75f202df

Command (m for help): q

but those two boot0 and boot1 4M each thingy's worry me so I'm waiting 
for confirmation from armbian that I can blow them away. This diff 
between what the chip folks call G and GiB might be hiding something 
uboot related. In any event it should be able to hold the amanda 
database even if I shoot for 90 to 180 days of data retention. The fact 
that it shows up in an lsblk report w/o a partition table fdisk 
recognizes is concerning. Has anything like that crossed your radar?

Cheers Lou, Gene Heskett, CET.

-- 
"There are four boxes to be used in defense of liberty:
  soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
  - Louis D. Brandeis