[CoLoCo] I'm confused about how the disk works
Kenneth D. Weinert
kenw at quarter-flash.com
Sat Oct 27 03:50:11 BST 2007
Hmmm, doing some searching I *might* have found a bit of an issue. You
can see the UUID in /etc/fstab, but when I run the command
sudo vol_id /dev/sda5 I get a completely different UUID. Should I just
replace the UUID in fstab with the one from the vol_id command?
Let me put it a different way - I'm *going* to give that a try, see if
swap will start up automagically.
On Fri, 2007-10-26 at 20:15 -0600, Kenneth D. Weinert wrote:
> OK, so I was confused - somehow the use of UUIDs had escaped my
> attention - what was commented out was the partition, which was just
> used as documentation. Here, for example, is the swap info from fstab:
>
> # /dev/sda5
> UUID=050c15b9-eb30-4db9-a65c-3ed07b559efb none swap sw
> 0 0
>
> However, when booting up I still don't have any swap enabled. Executing
> swapon /dev/sda5 enables without any issues, so I'm not sure why it
> doesn't autostart.
>
> On Fri, 2007-10-26 at 06:02 -0600, Collins Richey wrote:
> > On 10/25/07, Kenneth D. Weinert <kenw at quarter-flash.com> wrote:
> >
> > > Here's where the problem comes in - in top I see that I have no swap,
> > > but looking at fdisk shows a swap partition and if I type
> > > swapon /dev/sda5 then suddenly I have a bunch of swap available.
> > >
> > > In fstab both /dev/sda1 and /dev/sda5 are commented out.
> > >
> >
> > I can't begin to guess how you reached this state of affairs, but you
> > will need to uncomment a line in fstab to have your swap activated
> > automatically at boot time. Otherwise, you will have no swap until you
> > issue a swapon command. In all Ubuntu installs that I have done, swap
> > is handled and registered in fstab automatically.
> >
> > --
> > Collins Richey
> > If you fill your heart with regrets of yesterday and the worries
> > of tomorrow, you have no today to be thankful for.
> >
--
Ken Weinert
http://quarter-flash.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/ubuntu-us-co/attachments/20071026/5b485a07/attachment.pgp
More information about the Ubuntu-us-co
mailing list