I’ve got round to replacing one of my disks that has swap on it. This one will probably squeak every 5secs as well.
Using the suggested blkid command I get this, snipped to just cover the new disk.
/dev/sdj1: UUID="74c96b1d-cc8d-45c1-909b-be10f2be2b82" TYPE="swap" PARTLABEL="primary" PARTUUID="4c161de5-5b0a-495b-a987-f27e35bc0130"
/dev/sdj2: UUID="1119040d-2242-4aaa-94d4-1cd22814b303" TYPE="ext4" PARTLABEL="primary" PARTUUID="cbd6e6ce-4650-4ec2-bfe3-d0f2c72a5f13"
/dev/sdj3: UUID="3d5d9c66-ace8-4ce8-8238-f5668f349bd7" TYPE="ext4" PARTLABEL="primary" PARTUUID="a3f4434a-4540-472d-a911-9c4b1576f0df"
/dev/sdj4: UUID="46710d79-411d-4132-853b-fd42a2713c1f" TYPE="ext4" PARTLABEL="primary" PARTUUID="367af675-6129-42ef-a41a-51324b487d0a"
From my current fstab I can tell that the new uuid for swap will be the first one mentioned but wonder about the others which will be for /var, /tmp and for want of a suitable name /home2 for the last large partition.
If it’s always the first uuid I then wonder why there are 2 for each partition? Please explain,
When I asked about replacing this disk before I intended to bring the machine up without swap mounted etc and add swap later using YAST to disable it and later re enable it but as I have managed to format the disk in the usb dock I am wondering if I can now simply prepare the new fstab, power down the machine, change the drive power up again and all will be ok.
The complication with doing that seemed to boil down to boot needing to know about swap which is why the best optioned seemed to be using YAST to handle the fine detail. Running without swap did make several changes. Maybe just changing it’s size, position and disk doesn’t ???