Nas openmediavault Problème fstab

Fermé
Akuma - 7 sept. 2013 à 20:10
 Akuma - 8 sept. 2013 à 13:46
Bonjour,





Au demarrage sans taper ctrl-D je ne peut pas demarrer a cause d'une erreur sur fstab je pense donc a un mauvais UUID / Montage je poste donc ici un blkid :

root@PC2:~# blkid

/dev/sdb1: LABEL="PACKARD BELL" UUID="D47888027887E21A" TYPE="ntfs"
/dev/sda1: UUID="749515c9-173f-42b8-3017-a5a8c86610be" TYPE="linux_raid_member"
/dev/sda2: UUID="cb70d273-c647-142f-3017-a5a8c86610be" TYPE="linux_raid_member"
/dev/sda3: UUID="1edb355f-ff6d-6b30-7951-ac60547c39ae" LABEL="DiskStation:2" TYPE="linux_raid_member"
/dev/sde1: UUID="8a619060-7ea5-4d95-adeb-794d8d5a06de" TYPE="ext4"
/dev/sde5: UUID="7d372203-0466-4435-b4bb-b892ffc542d7" TYPE="swap"
/dev/sdc: UUID="83b80efc-c7ac-c5fe-5553-46820131932c" LABEL="PC2:Secure" TYPE="linux_raid_member"
/dev/sdd: UUID="83b80efc-c7ac-c5fe-5553-46820131932c" LABEL="PC2:Secure" TYPE="linux_raid_member"
/dev/md8: LABEL="Secure" UUID="62efbd44-2f2f-49da-be7e-83b95912d2d8" TYPE="ext4"
/dev/md2: LABEL="1.42.6-3211" UUID="2627c39e-f8e3-49e0-9a61-926f2262e5a5" TYPE="ext4"

je tente de reparer le fstab a la mano mais je galère si quelqu'un pouvait me filer un petit coup de pouce je serait reconnaissant :
mon fstab :
 GNU nano 2.2.4             Fichier : /etc/fstab                       Modifié


# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=8a619060-7ea5-4d95-adeb-794d8d5a06de / ext4 errors=remount$
# swap was on /dev/sda5 during installation
UUID=7d372203-0466-4435-b4bb-b892ffc542d7 none swap sw $
/dev/sda3 / auto rw,user,noauto 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/sda1 /media/usb0 auto rw,user,noauto 0 0
/dev/sda2 /media/usb1 auto rw,user,noauto 0 0
/dev/sda5 /media/usb2 auto rw,user,noauto 0 0
tmpfs /tmp tmpfs defaults 0 0
# >>> [openmediavault]
/dev/sdb1 /media/D47888027887E21A ntfs defaults 0 2
UUID=2627c39e-f8e3-49e0-9a61-926f2262e5a5 /media/2627c39e-f8e3-49e0-9a61-926f226$
UUID=62efbd44-2f2f-49da-be7e-83b95912d2d8 /media/62efbd44-2f2f-49da-be7e-83b9591$
# <<< [openmediavault]



/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/sda1 /media/usb0 auto rw,user,noauto 0 0
/dev/sda2 /media/usb1 auto rw,user,noauto 0 0
/dev/sda5 /media/usb2 auto rw,user,noauto 0 0
tmpfs /tmp tmpfs defaults 0 0
# >>> [openmediavault]
/dev/sdb1 /media/D47888027887E21A ntfs defaults 0 2
UUID=2627c39e-f8e3-49e0-9a61-926f2262e5a5 /media/2627c39e-f8e3-49e0-9a61-926f226$
UUID=62efbd44-2f2f-49da-be7e-83b95912d2d8 /media/62efbd44-2f2f-49da-be7e-83b9591$
# <<< [openmediavault]


Merci d'avance a vous si vous avez besoin de quoi que ce soit en plus hésitez pas a demandez :D
Merci a vous ,
Akuma.

2 réponses

zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 407
7 sept. 2013 à 20:36
Salut,

La seconde partie c'est le contenu actuel de ton fstab ?

Si oui, alors c'est normal il y a des entrées redondantes ;-(
0
Oui c'est le contenu actuel de mon fstab , je vois des trucs mais j'oses pas toucher parce que avec les UUID je m'y perd un peu x) il suffit que je supprime un bout pour que ça reparte ? ( si oui le quel :-p) parce que la c'est galere des que je reboot le nas je doit remettre ecran clavier et CG pour pouvoir ctrl+D donc >.<
0
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 407
7 sept. 2013 à 20:54
Euh... par contre il nous faudrait aussi la table des partitions de tes disques (fdisk -l), parce que là c'est un peu confus ;-\

Il semblerait qu'il y ait un raid aussi, non ?
0
Alors la aussi c'est pire que confus >.< :
root@PC2:~# fdisk -l


Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000ef383

Device Boot Start End Blocks Id System
/dev/sda1 1 311 2490240 fd Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sda2 311 572 2097152 fd Linux raid autodetect
Partition 2 does not end on cylinder boundary.
/dev/sda3 588 121601 972041440+ fd Linux raid autodetect

WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdc: 200.0 GB, 200049647616 bytes
256 heads, 63 sectors/track, 24226 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 24227 195360983+ ee GPT

WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdd: 320.1 GB, 320072933376 bytes
256 heads, 63 sectors/track, 38761 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdd1 * 1 38762 312571223+ ee GPT

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xfe59b9fd

Device Boot Start End Blocks Id System
/dev/sdb1 1 121601 976758780 7 HPFS/NTFS

Disk /dev/sde: 4004 MB, 4004511744 bytes
124 heads, 62 sectors/track, 1017 cylinders
Units = cylinders of 7688 * 512 = 3936256 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f3a7a

Device Boot Start End Blocks Id System
/dev/sde1 * 1 962 3696640 83 Linux
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(0, 32, 33) logical=(0, 33, 3)
Partition 1 has different physical/logical endings:
phys=(460, 86, 10) logical=(961, 115, 30)
Partition 1 does not end on cylinder boundary.
/dev/sde2 963 1018 210945 5 Extended
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(460, 118, 41) logical=(962, 24, 31)
Partition 2 has different physical/logical endings:
phys=(486, 185, 19) logical=(1017, 9, 10)
Partition 2 does not end on cylinder boundary.
/dev/sde5 963 1018 210944 82 Linux swap / Solaris

Disk /dev/md2: 995.4 GB, 995369222144 bytes
2 heads, 4 sectors/track, 243010064 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md2 doesn't contain a valid partition table

Disk /dev/md8: 200.0 GB, 200048525312 bytes
2 heads, 4 sectors/track, 48839972 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/md8 doesn't contain a valid partition table
0
Et logiquement oui il y a un Raid logiciel :)
0
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 407
7 sept. 2013 à 21:04
WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn't support GPT. Use GNU Parted.

Ce qui expliquerait en partie tes déboires ;-((

Par contre je ne connais pas du tout cette nouvelle architecture pour la dénomination et géométrie des disques ;-(

Je t'invite à jeter un oeil à ces 2 liens :
https://lecrabeinfo.net/differences-mbr-gpt-tables-de-partitionnement.html
https://lecrabeinfo.net/uefi-unified-extensible-firmware-interface.html
0
Ça m' avance pas beaucoup sur le problème :'(
0