Le 21 mai 2011 02:20, Erik Rossen <[email protected]> a écrit :
> Salut Pierre,
>
> "man tune2fs" indique que
>
>        tune2fs -U random /dev/sdb7
>
> peut fonctionner pour les systèmes des fichiers EXT2,3,4.
>
> Erik Rossen


Ça marche, merci Erik

J'ai eu encore un petit problème avec la partition swap qui n'est pas
une partition ext2, donc la solution avec tune2fs ne marchait pas:

root@station0:/home/maitre# blkid
/dev/sda1........
/dev/sda5: UUID="388358e6-423d-4fac-8713-78dbb41d1013" TYPE="swap"
/dev/sdb1..........
/dev/sdb5: UUID="388358e6-423d-4fac-8713-78dbb41d1013" TYPE="swap"

J'ai simplement recrée la partition swap /dev/sdb5 sur le 2e disque avec mkswap:

root@station0:/home/maitre# swapoff -a
root@station0:/home/maitre# mkswap -c -L SWAP2 /dev/sdb5
Setting up swapspace version 1, size = 1951740 KiB
LABEL=SWAP2, UUID=62047224-ae23-4ea5-991a-0f4cc706b646
root@station0:/home/maitre# blkid
/dev/sda1......
/dev/sda5: UUID="388358e6-423d-4fac-8713-78dbb41d1013" TYPE="swap"
/dev/sdb1.....
/dev/sdb5: UUID="62047224-ae23-4ea5-991a-0f4cc706b646" TYPE="swap"
LABEL="SWAP2"
root@station0:/home/maitre# swapon -a

Bonne fin de semaine

Pierre
_______________________________________________
gull mailing list
[email protected]
http://forum.linux-gull.ch/mailman/listinfo/gull

Répondre à