On Thu 15 Feb 2024 at 20:44:52 (+0000), Andy Smith wrote: > On Thu, Feb 15, 2024 at 03:19:54PM -0500, gene heskett wrote: > > On 2/15/24 11:21, Andy Smith wrote: > > > You asked if "labels" would survive their associated partition being > > > put into LVM. > > > > > > I said, "yes if you mean partition names, no if you mean filesystem > > > labels". > > > > > I'm still confused and it is not all the well clarified by looking at > > gparted, a shot of which I posted. > > This could all be answered easily if you'd just post the copy-paste > of your terminal scrollback for what you actually did. Hopefully you > don't now object to me asking what you meant since apparently even > you do not know if you mean partition names or filesystem labels. > >From what you posted it now sounds like labels on the ext4 > filesystems that you created.
Gene effectively shoots himself in the foot by using gparted (GUI) instead of, say, gdisk where it's easy to paste what was done, or for someone, say me, to post an example: # gdisk /dev/sdz GPT fdisk (gdisk) version 1.0.3 Partition table scan: MBR: not present BSD: not present APM: not present GPT: not present Creating new GPT entries. Command (? for help): o This option deletes all partitions and creates a new protective MBR. Proceed? (Y/N): y Command (? for help): p 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 3907029101 sectors (1.8 TiB) Number Start (sector) End (sector) Size Code Name Command (? for help): n Partition number (1-128, default 1): First sector (34-3907029134, default = 2048) or {+-}size{KMGTP}: Last sector (2048-3907029134, default = 3907029134) or {+-}size{KMGTP}: Current type is 'Linux filesystem' Hex code or GUID (L to show codes, Enter = 8300): Changed type of partition to 'Linux filesystem' Command (? for help): c Using 1 Enter name: Lulu01 Command (? for help): i Using 1 Partition GUID code: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem) Partition unique GUID: 37CF9EDF-C695-428E-9889-2F52C40DFCA5 First sector: 2048 (at 1024.0 KiB) Last sector: 3907029134 (at 1.8 TiB) Partition size: 3907027087 sectors (1.8 TiB) Attribute flags: 0000000000000000 Partition name: 'Lulu01' Command (? for help): w Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!! Do you want to proceed? (Y/N): y OK; writing new GUID partition table (GPT) to /dev/sdb. The operation has completed successfully. # # 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 # Cheers, David.