|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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. 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 Stuart -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Tuesday 29 January 2008 11:09:50 am Stuart Gall wrote:
> This is possible for EXT2/EXT3 but it is not possile AFAIKS for swap. > 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. You can label swap partitions like this: mkswap -L <label> <block device> Another option is to use swap files. AFAIK software raid stores the information about how a particular partition fits into a whole raid array on the partition itself, so the way in which the devices appear in /dev makes no difference. I am using a software raid array and have the same problem. Labeling the partitions (including the swap partitions) made everything work. MM -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
-----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. > 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) iD8DBQFHn3afS9HxQb37XmcRAhk0AJ0UxT4VPZ51S1J8C6fp7l ndRgVI4gCg4Jha f8/KTBSaai9Vs32vX/tNKsE= =6rOa -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
In article <9R3QW-3ap-69@gated-at.bofh.it>,
Ron Johnson <ron.l.johnson@cox.net> 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) > > iD8DBQFHn3afS9HxQb37XmcRAhk0AJ0UxT4VPZ51S1J8C6fp7l ndRgVI4gCg4Jha > f8/KTBSaai9Vs32vX/tNKsE= > =6rOa > -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
In article <9R3QP-3ap-23@gated-at.bofh.it>,
Jonathan Doe <anonymous.jondoe@gmail.com> wrote: > You can label swap partitions like this: > > mkswap -L <label> <block device> OH I SEE! Well that does it, many thanks. Stuart -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|