swap error
Jim Smith
jim at oz.net
Sun Jun 24 03:11:09 UTC 2007
W. Scott Lockwood III wrote:
> -----Original Message-----
> From: Jim Smith <jim at oz.net>
> Date: Saturday, Jun 23, 2007 6:44 pm
> Subject: Re: swap error
> To: scott at guppylog.com, "Ubuntu user technical support, not for general discussions" <ubuntu-users at lists.ubuntu.com>
>
> Scott Lockwood wrote:
> On Sat, 2007-06-23 at 13:53 -0700, Jim Smith wrote:
>
>
>> # /dev/sda3 -- converted during upgrade to edgy
>> UUID=53682bbd-4fcd-4d8c-81a6-7da4e9dc3ece none swap sw 0 0
>> /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
>>
>>
>
>
>> Ok, so, the nice thing about this, is that if you mount swap by UUID,
>>
> then you don't really so much care when and if it ever changes the
> device ID during an upgrade or something, because the UUID doesn't
> change, where the device name (/dev/sda3) can.
>
>
>> So, first thing, what happens if you type 'swapon -a'?
>>
>
>
>> Second, can you verify that the UUID of that partition is still
>>
> 53682bbd-4fcd-4d8c-81a6-7da4e9dc3ece ?
>
>
>>
>>
> I get the following error message:
>
> jim at JimsBook:~$ sudo swapon -a
> Password:
> swapon: cannot stat
> /dev/disk/by-uuid/53682bbd-4fcd-4d8c-81a6-7da4e9dc3ece: No such file or directory
> jim at JimsBook:~$
>
> Could something have changed? Can I just go back to listing it by /dev/sdaX?
>
> Thanbk you
>
> Jim
>
> ---
>
> Yes you can, but verify that it's actually there. It would be better to correct the UUID to whatever is correct.
>
>
Before I sent the first message I verified it with Qtparted.
Thanks
Jim
More information about the ubuntu-users
mailing list