On Sun, Sep 21, 2025 at 08:12:26PM +0100, John Edwards wrote:
Hi
Annoying, but interesting. What type of filesystem is it?
ext4
And is it on a fixed partition (eg /dev/sda5), RAID (eg /dev/md1), or
LVM (eg /dev/mapper/vg1-home)?
Fixed. /dev/sdX6. Only other filesystem is / on /dev/sdX1.
Assuming ext4, I guess you looked at the output of:
sudo tune2fs -l /dev/<DEVICE>
Yup,
It was blank but when I check it now, it is there:
# tune2fs -l /dev/sda6 | grep UU
Filesystem UUID: 23ba8ae2-5f38-43e7-959a-8495f6889302
I must have eventually done something that set it?! blkid is still not showing
it though. I've added it to fstab, hoping it will now work.
Also, is it being mounted by UUID or device name in /etc/fstab?
Was device name, that's how Debian added it.
It's odd. Setting a UUID is silently ignored and blkid also ignores the device.
I tried deleting and recreating the filesystem but that didn't make any
difference.
Running lsblk might also be useful to check whether it is depending on
another device being available (eg LVM on RAID on physical drives).
sda 8:0 0 111.8G 0 disk
├─sda1 8:1 0 12.4G 0 part /
├─sda2 8:2 0 1K 0 part
├─sda5 8:5 0 3.8G 0 part [SWAP]
└─sda6 8:6 0 95.6G 0 part /home
Fairly basic.
Is the disk partitioned as GPT, and could there be some sort of
unintentional conflict between GPT's disk identifier UUID and the
filesystem's UUID?
I tried setting the UUID many times using the RANDOM option.
root@laptop:/etc/apt/sources.list.d# gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.10
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present
***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
***************************************************************
Disk /dev/sda: 234441648 sectors, 111.8 GiB
Model: KINGSTON SV300S3
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): 154C79C7-2674-4F5E-B972-E30714D2A249
Thanks for your help.
--
--
GLLUG mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/gllug