On Wed, 23 Jul 2008, Tim Dijkstra wrote: > That said, the script does some checks and such. It also has support for > swap files, which make it necessary to recalculate the /dev node. In > your case this seems to result in a mapping from /dev/md5 > to /dev/mapper/cswap. It seems very likely to me that both have the > same inode-number and are hence equivalent.
You are mistaken. [note that in the current setup with new disks md2 is what used to be md5] [EMAIL PROTECTED]:~$ head -n 2 /etc/uswsusp.conf # /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both resume device = /dev/md2 [EMAIL PROTECTED]:~$ ls -l /dev/md2 /dev/mapper/cswap brw-rw---- 1 root disk 253, 3 Jul 16 10:15 /dev/mapper/cswap brw-rw---- 1 root disk 9, 2 Jul 16 10:15 /dev/md2 [EMAIL PROTECTED]:~$ ls -i -l /dev/md2 /dev/mapper/cswap 9731 brw-rw---- 1 root disk 253, 3 Jul 16 10:15 /dev/mapper/cswap 4804 brw-rw---- 1 root disk 9, 2 Jul 16 10:15 /dev/md2 [EMAIL PROTECTED]:~$ grep -v '^#' /etc/crypttab cswap /dev/vg_intrepid_raid1/swap /dev/random swap [EMAIL PROTECTED]:~$ sudo pvdisplay | grep PV\ Name PV Name /dev/sda10 PV Name /dev/sda11 PV Name /dev/sda12 PV Name /dev/md4 PV Name /dev/md5 PV Name /dev/md6 PV Name /dev/md3 Notice, no md2 to be seen that could be cswap anywhere. [EMAIL PROTECTED]:~$ sudo apt-get install --reinstall uswsusp Reading package lists... Done Building dependency tree... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 511kB of archives. After unpacking 0B of additional disk space will be used. Do you want to continue [Y/n]? Get:1 http://ftp.at.debian.org etch/main uswsusp 0.3~cvs20060928-7etch1 [511kB] Fetched 511kB in 0s (525kB/s) Preconfiguring packages ... (Reading database ... 192948 files and directories currently installed.) Preparing to replace uswsusp 0.3~cvs20060928-7etch1 (using .../uswsusp_0.3~cvs20060928-7etch1_i386.deb) ... Unpacking replacement uswsusp ... Setting up uswsusp (0.3~cvs20060928-7etch1) ... WARNING: /boot is ro mounted. update-initramfs: Not updating /boot/initrd.img-2.6.25.10-intrepid [EMAIL PROTECTED]:~$ head -n 2 /etc/uswsusp.conf # /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both resume device = /dev/mapper/cswap -- | .''`. ** Debian GNU/Linux ** Peter Palfrader | : :' : The universal http://www.palfrader.org/ | `. `' Operating System | `- http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]