[wellylug] File recovery after a crash.
Jonathan Harker
jon at jon.geek.nz
Fri Sep 25 23:01:20 NZST 2009
MDM Productions wrote:
> Xav: All the other drives are there, and all have UUID's except for
> hda6. Will that be restored automagically once we get the show on the road?
UUIDs are optional. Their only advantage is if you introduce another
hard disk, and your Linux kernel decides to shift what used to be your
/dev/sda to /dev/sdb or something, and your /dev/sda6 partition becomes
/dev/sdb6 which fouls up your /etc/fstab. Using UUIDs instead would
prevent that from happening.
Depending on your distribution (I think you said Mandriva?) you should
be able to see which UUIDs correspond to which devices:
ls -l /dev/disk/by-uuid
For instance, mine says:
bda665d9-eb5e-49c2-9ad4-dd9359eb5778 -> ../../sda1
06B89BA8B89B9531 -> ../../sdb1
D0CC7172CC715426 -> ../../sdb5
0277438a-55fa-4fa4-aa5d-80f2e1e08ef0 -> ../../sdb6
06305be6-cafa-449e-b3cb-c79806f76996 -> ../../sdb7
130d8080-5895-4014-88ed-7d8ce139c8d3 -> ../../sdb8
3a18306b-aeee-4933-b137-b14f81bb6fcd -> ../../sdc1
I'm using Ubuntu though, so you might have to poke around a bit, not
sure if that's a Debian-specific arrangement.
Anyway
Does the message output say anything about why it is dropping you into a
maintenance shell? Is it because the timestamp is wrong? I got this once
because it detected the date it was last mounted was "in the future"
because of the way Windows and Linux were dual-booting, and one was
treating the system clock as GMT, the other as NZST.
HTH
J
More information about the wellylug
mailing list