On 01/06/11 23:46, Andy Smith wrote:
Hi Mathew,
On Wed, Jun 01, 2011 at 11:36:19PM +0100, Mathew Newton wrote:
/dev/xvda on / type ext3 (rw,relatime)
That's fine. It would say /dev/xvda1 if there were a problem.
Cheers,
Andy
I'm just embarking on the lenny to squeeze update and have the same
output to the mount command as Matthew.
My question is regarding replacing labels by UUID's. Output of cat
/etc/fstab:
LABEL=root / ext3 defaults,relatime 0 1
/var/lib/swapfile swap swap defaults 0 0
proc /proc proc defaults,noexec,nosuid 0 0
Output of blkid:
/dev/xvda1: LABEL="/" UUID="09dd100a-4bfa-47c5-9c3e-559068bafb2c"
TYPE="ext3"
/dev/xvda2: UUID="195f7eaf-ec5e-4e3c-92d3-c0171200ff00" TYPE="swap"
/dev/xvda: LABEL="root" UUID="814d97eb-aee6-4af0-bc94-eb56188b65b5"
TYPE="ext3"
Which UUID do I use in fstab - just LABEL="root"
UUID=814d97eb-aee6-4af0-bc94-eb56188b65b5 in place of LABEL=root or the
UUID's for /dev/xvda1 and /dev/xvda2 in place of LABEL=root and
/var/lib/swapfile
Guidance appreciated.
Regards, Martin