Re: Sata controller order



In article <9R3QW-3ap-69@xxxxxxxxxxxxxxxx>,
Ron Johnson <ron.l.johnson@xxxxxxx> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/29/08 12:09, Stuart Gall wrote:
Hello,
I have a problem with 4.0r2 (although it is probably not exclusive to
that release)

On a number of systems with multiple sata controllers the controllers
come up in different orders (randomly on boot) the order is always the
same in lilo but gets changed sometimes by the time the kernel loads.
This has the effect of juggling the drives so mount does not work.

I have seen this problem in a number of places on the net, the usual
solution posted is to mount by label rather than by drive.

This is possible for EXT2/EXT3 but it is not possile AFAIKS for swap.

Swap partitions *can* have labels. You can also mount by UUID.


Yes swap partitions can have labels, yes you can mount ext2/ext3
filesystems bu UUID. But it does not work for swap.

At least that is my interpretation of man fstab. And no matter what I
try in fstab I cant mount swap by label or UUID.

Can you give me an example of what my fstab entry should look like

LABEL=swap swap swap defaults 0 0
Does not work.





Also the reason these systems have multiple sata controllers is that
they have a raid partition. So also I am not sure how the md device
would handle having its disks moved around.

Is there some way to force a particular controller, and hence disk,
ordering on the kernel ?

For the moment, if these systems have to be shutdown. On reboot if the
order is wrong we get dumped to ramfs then we just ctrl-alt-delete
repeatedly until the order comes right and the system boots.

I can not understand why the order would be random.

I am using irqpoll kernel flag to boot these systems, otherwise we get
sda lost interrupt, not sure if that is relevant.

TVMIA

- --
Ron Johnson, Jr.
Jefferson LA USA

"I'm not a vegetarian because I love animals, I'm a vegetarian
because I hate vegetables!"
unknown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHn3afS9HxQb37XmcRAhk0AJ0UxT4VPZ51S1J8C6fp7lndRgVI4gCg4Jha
f8/KTBSaai9Vs32vX/tNKsE=
=6rOa
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • /proc could not be mounted
    ... Setting netmask of hme0 to 255.0.0.0 ... The / file system is being checked. ... mount: /var/run is already mounted, swap is busy. ...
    (SunManagers)
  • Re: [opensuse] /dev/disk/by-uuid ?
    ... Use "swapoff" to take it out of service before recreating it then ... sda1, use mkswap to recreate it with a label, then revert the process ... kernel might not see the label till next reboot. ... not running - unless the live founds swap space and uses it. ...
    (SuSE)
  • Re: How to set label on swap partition
    ... so it is no longer recognized by Fedora as a swap. ... > doesn't want to set label since it is not a ext2/ext3 partition. ...
    (Fedora)
  • Re: Partitioning scheme and more...
    ... > I'm new to FreeBSD (but not to UNIX) and I have a few questions. ... FreeBSD does not _require_ any swap per-se. ... Or can you mount user's home directory to ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Beginners Question
    ... I've run lots of production systems with just / and swap. ... You can't mount anything read-only, or with nosuid or have any ... If someone feels like filling up your syslog or any other incredible ...
    (comp.unix.solaris)