Bonjour,
hier j’avais un petit souci pour créer une partition, aujourd’hui c’est pour la monter.
ici : ce que j’ai fait : rajout-de-partition-sur-un-serveur-distant-t39080.html
Ensuite, j’ai simplement rajouté la partition dans fstab :
Sachant que le fichier /samba a été créé comme suit :
Puis j’ai redémarré le serveur, et j’ai reçu un message d’erreur. Voici l’erreur affichée dans /var/log/syslog
Jun 3 11:31:24 webserver kernel: [ 6.594553] NTFS driver 2.1.29 [Flags: R/W
MODULE].
Jun 3 11:31:24 webserver kernel: [ 6.623755] NTFS-fs error (device sdb4): re
ad_ntfs_boot_sector(): Primary boot sector is invalid.
Jun 3 11:31:24 webserver kernel: [ 6.623840] NTFS-fs error (device sdb4): re
ad_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without tr
ying to recover.
Jun 3 11:31:24 webserver kernel: [ 6.623945] NTFS-fs error (device sdb4): nt
fs_fill_super(): Not an NTFS volume.
voici le contenu de fdisk -l
[code]root@webserver:~# fdisk -l
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: 0x20262026
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 19122 153597433+ 7 HPFS/NTFS
/dev/sdb2 121359 121602 1952768 82 Linux swap / Solaris
/dev/sdb3 114660 121359 53807105 5 Extended
/dev/sdb4 19123 114559 766589952 7 HPFS/NTFS
/dev/sdb5 118927 121359 19530752 83 Linux
/dev/sdb6 117104 118927 14648320 83 Linux
/dev/sdb7 114672 117103 19529728 83 Linux
/dev/sdb8 114660 114672 96256 83 Linux
Partition table entries are not in disk order
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 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: 0x69f0e17c
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 44619 358295552 7 HPFS/NTFS
/dev/sda3 44619 60802 129985536 7 HPFS/NTFS
[/code]
sdb1 et sda sont des partitions windows.
Autre chose remarquable, il n’y a pas de résultat pour sdb4 si je lance blkid :
root@webserver:~# blkid
/dev/sda1: LABEL="System Reserved" UUID="9A1C3A451C3A1D27" TYPE="ntfs"
/dev/sdb1: LABEL="Win7" UUID="820486F90486F009" TYPE="ntfs"
/dev/sdb2: UUID="0bfeb95c-e674-49e8-ad74-35dcf05480a6" TYPE="swap"
/dev/sdb5: UUID="0c65cda0-2d81-41e5-a0a1-2f8661cdb966" TYPE="ext3"
/dev/sdb6: UUID="1166fda5-9d5f-49ef-a693-b90d022cadea" TYPE="ext3"
/dev/sdb7: UUID="533a7ba2-2005-4506-97db-5656f3a3805a" TYPE="ext3"
/dev/sdb8: UUID="95be654f-4621-471b-82b6-d55f79bb12bc" TYPE="ext3"
/dev/sda2: LABEL="New Volume" UUID="04F80AC7F80AB6C8" TYPE="ntfs"
/dev/sda3: UUID="BAFE6131FE60E6DB" TYPE="ntfs"