Hi,
I have a weird problem that I have not been able to resolve.
Without thinking, I created a RAID0 device of 2 4GB partitions to give me
a 8GB swap space - /dev/sda2 and /dev/sdb2 became /dev/md2. Obviously,
this is a redundant thing to do, as the kernel is smart enough to manage
its own swap space.
I have subsequently tried to back out these changes, and add two separate
partitions instead
I've changed the types of /dev/sda2 and /dev/sdb2 to Linux swap (0x82)
with fdisk, and I've run mkswap -L on them, and I've enabled them with
swapon.
All fine.
I rebooted at this point to ensure the kernel picked up the correct
partition table.
However, I noticed /etc/blkid/blkid.tab* was incorrect - it still showed
them as RAID
/dev/sda2: UUID="ec87d46f-e0af-c9a8-7653-8e1ed3c3b2e5" TYPE="mdraid"
/dev/sdb2: UUID="ec87d46f-e0af-c9a8-7653-8e1ed3c3b2e5" TYPE="mdraid"
No problem, or so I thought. I rm'd /etc/blkid/blkid.tab* and then ran
blkid -c /dev/null
However, they are still being created as before:
/dev/sda2: UUID="ec87d46f-e0af-c9a8-7653-8e1ed3c3b2e5" TYPE="mdraid"
/dev/sdb2: UUID="ec87d46f-e0af-c9a8-7653-8e1ed3c3b2e5" TYPE="mdraid"
Where is blkid getting this UUID and these partition types?
This is on a Fedora-8 system.
Cheers,
Ivna.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!