Limitations en disques durs ??

Fermé
tatou_38 Messages postés 1928 Date d'inscription vendredi 21 avril 2006 Statut Membre Dernière intervention 5 août 2015 - 12 oct. 2008 à 21:49
tatou_38 Messages postés 1928 Date d'inscription vendredi 21 avril 2006 Statut Membre Dernière intervention 5 août 2015 - 13 oct. 2008 à 22:05
Bonjour,

Ma machine a quatre disques durs (1 système en SATA et trois autres de stockage, 2 en SATA et 1 en IDE)
Ils sont tous quatre reconnus par le BIOS

Sou linux (Mandriva 2008), je n'en "vois" que trois.
Si j'en débranche un, les trois autres sont visibles et montables, mais les quatre ensemble, que nenni !

fstab indique :

# Entry for /dev/hdb1 :
LABEL=backup /backup ext3 relatime 1 2
/dev/sda8 /home ext3 relatime 1 2
/dev/cdrom /media/cdrom auto umask=0022,users,iocharset=utf8,noauto,ro,exec 0 0
/dev/sdb1 /media/hd2 ext3 sync,relatime 1 2
/dev/hdb5 /media/hd6 ext3 sync,relatime 1 2
/dev/sda10 /perso ext3 relatime 1 2
none /proc proc defaults 0 0
/dev/sda9 /tmp ext3 relatime 1 2
/dev/sda6 /usr ext3 relatime 1 2
/dev/sda7 /var ext3 relatime 1 2
/dev/sda5 swap swap defaults 0 0


et le /dev/sdc1 n'apparaît pas !

Si quelqu'un peut me dire ce qui ne va pas, merci d'avance !

5 réponses

tatou_38 Messages postés 1928 Date d'inscription vendredi 21 avril 2006 Statut Membre Dernière intervention 5 août 2015 120
13 oct. 2008 à 20:16
J'ai modifié fstab par l'insertion de la dernière ligne :

/dev/sda1 / ext3 relatime 1 1
/dev/sda8 /home ext3 relatime 1 2
# Entry for /dev/hdb1 :
LABEL=backup /mail ext3 relatime 1 2
/dev/cdrom /media/cdrom auto umask=0022,users,iocharset=utf8,noauto,ro,exec 0 0
/dev/sdb1 /media/hd2 ext3 sync,relatime 1 2
/dev/hdb5 /media/hd6 ext3 sync,relatime 1 2
/dev/sda10 /perso ext3 relatime 1 2
none /proc proc defaults 0 0
/dev/sda9 /tmp ext3 relatime 1 2
/dev/sda6 /usr ext3 relatime 1 2
/dev/sda7 /var ext3 relatime 1 2
/dev/sda5 swap swap defaults 0 0
/dev/sdc1 /media/sata3 ext3 sync,relatime 1 2


Et j'ai rebooté (j'aurais dû attendre vos sages conseils !!)

le /dev/sdc1 n'a pas étéapprécié, je me suis retrouvé en ligne de commande avec rin de monté.
Et pas de vi ou de emacs pour corriger le fstab !! :=(
Heureusement j'avais fait une copie de fstab avant, un coup de cp et c'est reparti

Le quatrième disque est bien reconnu par le BIOS, mais pas par LINUX !??

Une idée les amis ?
Salutations linuxiennes,
1
lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 3 567
13 oct. 2008 à 20:21
Salut,

avec tous les disques branchés
affiche le résultat de
  ls -l /dev/disk/*

1
tatou_38 Messages postés 1928 Date d'inscription vendredi 21 avril 2006 Statut Membre Dernière intervention 5 août 2015 120
13 oct. 2008 à 22:05
Voici, mais c'est un peu long !!!

ls -l /dev/disk/*
/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root 9 2008-10-13 20:07 ata-Hitachi_HDS721616PLA380_PVG904Z22UNPTV -> ../../sda
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 ata-Hitachi_HDS721616PLA380_PVG904Z22UNPTV-part1 -> ../../sda1
lrwxrwxrwx 1 root root 11 2008-10-13 20:07 ata-Hitachi_HDS721616PLA380_PVG904Z22UNPTV-part10 -> ../../sda10
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 ata-Hitachi_HDS721616PLA380_PVG904Z22UNPTV-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 ata-Hitachi_HDS721616PLA380_PVG904Z22UNPTV-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 ata-Hitachi_HDS721616PLA380_PVG904Z22UNPTV-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 ata-Hitachi_HDS721616PLA380_PVG904Z22UNPTV-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 ata-Hitachi_HDS721616PLA380_PVG904Z22UNPTV-part8 -> ../../sda8
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 ata-Hitachi_HDS721616PLA380_PVG904Z22UNPTV-part9 -> ../../sda9
lrwxrwxrwx 1 root root 9 2008-10-13 20:07 ata-Maxtor_6Y080P0_Y3LHGVFE -> ../../hdb
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 ata-Maxtor_6Y080P0_Y3LHGVFE-part1 -> ../../hdb1
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 ata-Maxtor_6Y080P0_Y3LHGVFE-part2 -> ../../hdb2
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 ata-Maxtor_6Y080P0_Y3LHGVFE-part5 -> ../../hdb5
lrwxrwxrwx 1 root root 9 2008-10-13 20:07 ata-Maxtor_6Y200M0_Y631RHLE -> ../../sdb
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 ata-Maxtor_6Y200M0_Y631RHLE-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 2008-10-13 20:07 edd-int13_dev80 -> ../../sda
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 edd-int13_dev80-part1 -> ../../sda1
lrwxrwxrwx 1 root root 11 2008-10-13 20:07 edd-int13_dev80-part10 -> ../../sda10
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 edd-int13_dev80-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 edd-int13_dev80-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 edd-int13_dev80-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 edd-int13_dev80-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 edd-int13_dev80-part8 -> ../../sda8
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 edd-int13_dev80-part9 -> ../../sda9
lrwxrwxrwx 1 root root 9 2008-10-13 20:07 edd-int13_dev81 -> ../../hdb
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 edd-int13_dev81-part1 -> ../../hdb1
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 edd-int13_dev81-part2 -> ../../hdb2
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 edd-int13_dev81-part5 -> ../../hdb5
lrwxrwxrwx 1 root root 9 2008-10-13 20:07 edd-int13_dev83 -> ../../sdb
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 edd-int13_dev83-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 2008-10-13 20:07 scsi-SATA_Hitachi_HDS7216_PVG904Z22UNPTV -> ../../sda
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 scsi-SATA_Hitachi_HDS7216_PVG904Z22UNPTV-part1 -> ../../sda1
lrwxrwxrwx 1 root root 11 2008-10-13 20:07 scsi-SATA_Hitachi_HDS7216_PVG904Z22UNPTV-part10 -> ../../sda10
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 scsi-SATA_Hitachi_HDS7216_PVG904Z22UNPTV-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 scsi-SATA_Hitachi_HDS7216_PVG904Z22UNPTV-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 scsi-SATA_Hitachi_HDS7216_PVG904Z22UNPTV-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 scsi-SATA_Hitachi_HDS7216_PVG904Z22UNPTV-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 scsi-SATA_Hitachi_HDS7216_PVG904Z22UNPTV-part8 -> ../../sda8
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 scsi-SATA_Hitachi_HDS7216_PVG904Z22UNPTV-part9 -> ../../sda9
lrwxrwxrwx 1 root root 9 2008-10-13 20:07 scsi-SATA_Maxtor_6Y200M0_Y631RHLE -> ../../sdb
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 scsi-SATA_Maxtor_6Y200M0_Y631RHLE-part1 -> ../../sdb1

/dev/disk/by-label:
total 0
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 backup -> ../../hdb1

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root 9 2008-10-13 20:07 pci-0000:00:08.0-ide-0:0 -> ../../hda
lrwxrwxrwx 1 root root 9 2008-10-13 20:07 pci-0000:00:08.0-ide-0:1 -> ../../hdb
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 pci-0000:00:08.0-ide-0:1-part1 -> ../../hdb1
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 pci-0000:00:08.0-ide-0:1-part2 -> ../../hdb2
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 pci-0000:00:08.0-ide-0:1-part5 -> ../../hdb5
lrwxrwxrwx 1 root root 9 2008-10-13 20:07 pci-0000:00:0e.0-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 pci-0000:00:0e.0-scsi-0:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 11 2008-10-13 20:07 pci-0000:00:0e.0-scsi-0:0:0:0-part10 -> ../../sda10
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 pci-0000:00:0e.0-scsi-0:0:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 pci-0000:00:0e.0-scsi-0:0:0:0-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 pci-0000:00:0e.0-scsi-0:0:0:0-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 pci-0000:00:0e.0-scsi-0:0:0:0-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 pci-0000:00:0e.0-scsi-0:0:0:0-part8 -> ../../sda8
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 pci-0000:00:0e.0-scsi-0:0:0:0-part9 -> ../../sda9
lrwxrwxrwx 1 root root 9 2008-10-13 20:07 pci-0000:00:0e.0-scsi-3:0:0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 pci-0000:00:0e.0-scsi-3:0:0:0-part1 -> ../../sdb1

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 064819ba-988e-11dd-a27b-390f84cd14a5 -> ../../sda8
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 0841d35c-7e02-4df8-bd53-41fd8b5823ae -> ../../sdb1
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 1326d630-988e-11dd-a6c7-fd16a1ad9371 -> ../../sda9
lrwxrwxrwx 1 root root 11 2008-10-13 20:07 14b88336-988e-11dd-be06-f3b3589e7e7b -> ../../sda10
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 55d3c876-d7d4-4f94-a500-7c9dfc82e25d -> ../../hdb1
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 72e1eea0-a0e1-41e4-8d59-11f087cedc50 -> ../../hdb5
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 eeeef36a-988d-11dd-b475-a5891070c017 -> ../../sda1
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 f200495a-988d-11dd-962c-3b4c531c3153 -> ../../sda5
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 f20a0dfa-988d-11dd-be46-abb7475391d2 -> ../../sda6
lrwxrwxrwx 1 root root 10 2008-10-13 20:07 f838c680-988d-11dd-ba8a-7d1284a8e68f -> ../../sda7
[benoit@localhost:~] 2 $


Bravo si tu y comprends quelque chose !
Merci en tous cas pour ton aide !
1
Bonsoir,

Il faut l'ajouter dans le fstab !

Les disques internes IDE ou SATA ne sont pas montés automatiquement s'ils ne sont pas déclarés dans le fichier /etc/fstab.

Vous devez creer un dossier de montage : /media/sdc1 par exemple
Et vous ajoutez cette ligne à la fin du fiduer fstab :
/dev/sdc1 /media/sdc1 ext3 defaults 0 0

Cordialement,
0
tatou_38 Messages postés 1928 Date d'inscription vendredi 21 avril 2006 Statut Membre Dernière intervention 5 août 2015 120
12 oct. 2008 à 22:42
Merci de ta réponse,

J'ai ajouté une ligne en fin de fstab, mais faudrait que je reboote ?
-1
lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 3 567 > tatou_38 Messages postés 1928 Date d'inscription vendredi 21 avril 2006 Statut Membre Dernière intervention 5 août 2015
12 oct. 2008 à 22:44
Re,

Pas encore. Regarde ma réponse 5.
-1
kiki > tatou_38 Messages postés 1928 Date d'inscription vendredi 21 avril 2006 Statut Membre Dernière intervention 5 août 2015
12 oct. 2008 à 22:50
Non pas reboot : "sudo mount -a"
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 3 567
12 oct. 2008 à 21:58
Salut,

branche tes disques et affiche le résultat de (commande à taper en tant que root)
fdisk -l
-1
tatou_38 Messages postés 1928 Date d'inscription vendredi 21 avril 2006 Statut Membre Dernière intervention 5 août 2015 120
12 oct. 2008 à 22:41
fdisk -l donne :
Disque /dev/sda: 160.0 Go, 160041885696 octets
255 heads, 63 sectors/track, 19457 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd41cd41c

Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 * 1 1019 8185086 83 Linux
/dev/sda2 1020 19457 148103235 5 Extended
/dev/sda5 1020 1528 4088511 82 Linux swap / Solaris
/dev/sda6 1529 4162 21157573+ 83 Linux
/dev/sda7 4163 10596 51681073+ 83 Linux
/dev/sda8 10597 15702 41013913+ 83 Linux
/dev/sda9 15703 15983 2257101 83 Linux
/dev/sda10 15984 19457 27904873+ 83 Linux

Disque /dev/sdb: 203.9 Go, 203928109056 octets
255 heads, 63 sectors/track, 24792 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00007cf4

Périphérique Amorce Début Fin Blocs Id Système
/dev/sdb1 * 1 24792 199141708+ 83 Linux

Disque /dev/hdb: 81.9 Go, 81964302336 octets
255 heads, 63 sectors/track, 9964 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0x84128412

Périphérique Amorce Début Fin Blocs Id Système
/dev/hdb1 * 1 2037 16362171 83 Linux
/dev/hdb2 2038 9964 63673627+ 5 Extended
/dev/hdb5 2038 9964 63673596 83 Linux
[root@localhost etc]#

J'ai rajouté la ligne dans fstab, mais probablement faudrait-il que je reboote (j'ai peur !! )
-1
lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 3 567 > tatou_38 Messages postés 1928 Date d'inscription vendredi 21 avril 2006 Statut Membre Dernière intervention 5 août 2015
12 oct. 2008 à 22:43
Re,

Pour l'instant il n'y a que 3 disques reconnu.
As tu branché le 4ème?!

Avant de redémarrer affiche le résultat de
 cat /etc/fstab


P.S. On n'ajoute jamais quelque chose dans /etc/fstab sans connaître d'abord les partitions.
-1