[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Alan Pope wrote: > 2009/1/9 Tom Potts <tompotts@xxxxxxxxxxxxxxxxxxxx>: > >> I'm trying to set up a swap file on my viglen but not getting anywhere >> viglen@mpc-xubuntu:~$ cat /etc/fstab >> # /etc/fstab: static file system information. >> # >> # <file system> <mount point> <type> <options> <dump> <pass> >> proc /proc proc defaults 0 0 >> # /dev/hda1 >> UUID=8d18d78d-5eb0-469f-b9ca-77e03b43db2c / ext3 >> defaults,errors=remount-ro 0 1 >> # /dev/hda5 >> UUID=8d97fd08-8ea5-4d49-a2e5-da504e59261f none swap sw >> 0 0 >> /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 >> viglen@mpc-xubuntu:~$ sudo mkswap -U 8d97fd08-8ea5-4d49-a2e5-da504e59261f >> > > Is that in fact the right UUID? You can find out like this:- > > alan@mpc-xubuntu:~$ ls -l /dev/disk/by-uuid > total 0 > lrwxrwxrwx 1 root root 10 2009-01-04 20:10 > 6a1c871e-8193-4041-9a0d-4b121ea49bc2 -> ../../sda5 > lrwxrwxrwx 1 root root 10 2009-01-04 20:10 > 8d18d78d-5eb0-469f-b9ca-77e03b43db2c -> ../../sda1 > lrwxrwxrwx 1 root root 10 2009-01-08 23:26 > eefc6bf5-1d3b-4436-8242-d9ea6ae426c3 -> ../../sdb1 > > Personally I don't use UUID in my fstab for swap.. > > alan@mpc-xubuntu:~$ cat /etc/fstab > # /etc/fstab: static file system information. > # > # <file system> <mount point> <type> <options> <dump> <pass> > proc /proc proc defaults 0 0 > # /dev/hda1 > UUID=8d18d78d-5eb0-469f-b9ca-77e03b43db2c / ext3 > defaults,errors=remount-ro 0 1 > #/dev/hda3 /scratch ext3 defaults,errors=remount-ro 0 1 > # /dev/hda5 > /dev/sda5 none swap sw 0 0 > #/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 > //192.168.129.237/drobo /media/drobo cifs > guest,uid=1000,iocharset=utf8,codepage=unicode,unicode 0 0 > > Cheers, > Al. > > I actually change ALL the UUIDs to device node names... -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html