* Getting "Cannot resume from device" (or something along these) lines with dracut and add_device+="LABEL=sf_unix_swap"
@ 2012-08-11 9:06 Shlomi Fish
[not found] ` <CAAsq1beH8qcf5CpyvBeG+1EFEyBKY9WKq79wjSsJT9MHkrD_4Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Shlomi Fish @ 2012-08-11 9:06 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
Hi all,
I'm using Mageia Linux 3/Cauldron and have this in my dracut configuration:
<<<
[root@telaviv1 ~]# cat /etc/dracut.conf.d/51-mageia-resume.conf
add_device+="LABEL=sf_unix_swap"
[root@telaviv1 ~]#
>>>
Now, at startup, I am getting (after waiting for several seconds) a
message such as "Cannot resume from device" or
"resume device not found" and then it boots normally. My questions are:
1. The label is valid. Can I use a label for the resume device?
2. If not, can I use a UUID instead?
3. If I cannot use a label, then the man page of dracut should be
fixed because -add-device does not mention anything about not being
able to use a LABEL (which is possible in e.g: /etc/fstab ).
Thanks in advance for any help.
^ permalink raw reply [flat|nested] 2+ messages in thread[parent not found: <CAAsq1beH8qcf5CpyvBeG+1EFEyBKY9WKq79wjSsJT9MHkrD_4Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Getting "Cannot resume from device" (or something along these) lines with dracut and add_device+="LABEL=sf_unix_swap" [not found] ` <CAAsq1beH8qcf5CpyvBeG+1EFEyBKY9WKq79wjSsJT9MHkrD_4Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2012-08-14 22:05 ` Colin Guthrie 0 siblings, 0 replies; 2+ messages in thread From: Colin Guthrie @ 2012-08-14 22:05 UTC (permalink / raw) To: initramfs-u79uwXL29TY76Z2rM5mHXA 'Twas brillig, and Shlomi Fish at 11/08/12 10:06 did gyre and gimble: > Hi all, > > I'm using Mageia Linux 3/Cauldron and have this in my dracut configuration: The add_device stuff is a Mageia specific patch added rather late in the development cycle. I did discuss the reasons for it (to act as a system to enable LVM/RAID for swap partitions) with Harald and we came up with a better suggestion but due to the timing I didn't have time to implement it. Anyway, this question isn't really relevant for upstream but I'll try anyway. > <<< > [root@telaviv1 ~]# cat /etc/dracut.conf.d/51-mageia-resume.conf > add_device+="LABEL=sf_unix_swap" > [root@telaviv1 ~]# >>>> > > Now, at startup, I am getting (after waiting for several seconds) a > message such as "Cannot resume from device" or > "resume device not found" and then it boots normally. My questions are: > > 1. The label is valid. Can I use a label for the resume device? It should work. > 2. If not, can I use a UUID instead? UUIDs should work also. > 3. If I cannot use a label, then the man page of dracut should be > fixed because -add-device does not mention anything about not being > able to use a LABEL (which is possible in e.g: /etc/fstab ). Again, this is all a Mageia patch for now, which likely won't go upstream (unless anyone else has a need for such behaviour?). For reference the patch is here: http://svnweb.mageia.org/packages/cauldron/dracut/current/SOURCES/0505-Add-a-new-add-device-option.patch?revision=278450&view=markup Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org/ ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-14 22:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-11 9:06 Getting "Cannot resume from device" (or something along these) lines with dracut and add_device+="LABEL=sf_unix_swap" Shlomi Fish
[not found] ` <CAAsq1beH8qcf5CpyvBeG+1EFEyBKY9WKq79wjSsJT9MHkrD_4Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-14 22:05 ` Colin Guthrie
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.