Hi,

On Fri, Feb 16, 2024 at 01:32:26AM -0500, gene heskett wrote:
> On 2/15/24 16:20, David Wright wrote:
> >    # gdisk -l /dev/sdz
> >    GPT fdisk (gdisk) version 1.0.3
> > 
> >    Partition table scan:
> >      MBR: protective
> >      BSD: not present
> >      APM: not present
> >      GPT: present
> > 
> >    Found valid GPT with protective MBR; using GPT.
> >    Disk /dev/sdb: 3907029168 sectors, 1.8 TiB
> >    Model: Desktop
> >    Sector size (logical/physical): 512/512 bytes
> >    Disk identifier (GUID): A1093790-9A1A-4A7E-A807-B9CC6F7CF77E
> >    Partition table holds up to 128 entries
> >    Main partition table begins at sector 2 and ends at sector 33
> >    First usable sector is 34, last usable sector is 3907029134
> >    Partitions will be aligned on 2048-sector boundaries
> >    Total free space is 2014 sectors (1007.0 KiB)
> > 
> >    Number  Start (sector)    End (sector)  Size       Code  Name
> >       1            2048      3907029134   1.8 TiB     8300  Lulu01
> >    #
> > .
> And this "partition" name survives?

No, because it's a filesystem label for the ext4 fs created on
/dev/sdz1. If sdz1 is turned into an LVM Physical Volume, there
won't be an ext4 filesystem on it any more. If sdz1 is turned into a
member of an MD array, there won't be an ext4 filesystem on it any
more. The labels go with the filesystem.

> and can be unique?

I don't know what that means to you or why it is useful.

> and can be used in a mount cmd?

Once the RAID and/or LVM is set up and a filesystem put on it, that
filesystem can be mounted by label just like any filesystem can, but
that filesystem may have multiple devices underneath it owing to the
fact that it's on RAID and/or LVM, so there is no information you
can put in its label that will tell you anything about those
underlying devices.

> if all 3 questions above can be answered with a yes is the answer
> I've been trying to squeeze out all along.

You've not yet been clear about what you want, but from what little
information you have provided you've been told multiple times by
multiple people that filesystem labels won't help.

Thanks,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting

Reply via email to