Pages : 1
#1 Le 09/02/2017, à 12:06
- rattrappemoi
ajout d'un disque dans FOG
Bonjour tout le monde.
Je suis novice et je veux apprendre.
J'ai installé FOG dans une machine virtuel dans l'entreprise et j'ai ajouté un disque dur après l'installation.
Le disque dur servira à stocker les images systèmes.
lorsque je vérifie l'état des disques dispo voici ce que je vois :
root@FOG:/etc# fdisk -l
Disque /dev/ram0 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/ram1 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/ram2 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/ram3 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/ram4 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/ram5 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/ram6 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/ram7 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/ram8 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/ram9 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/ram10 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/ram11 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/ram12 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/ram13 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/ram14 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/ram15 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/sdb : 250 GiB, 268435456000 octets, 524288000 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x19394113
Périphérique Amorçage Start Fin Secteurs Size Id Type
/dev/sdb1 2048 524287999 524285952 250G ef EFI (FAT-12/16/32)
Disque /dev/sda : 32 GiB, 34359738368 octets, 67108864 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x7febed51
Périphérique Amorçage Start Fin Secteurs Size Id Type
/dev/sda1 * 2048 999423 997376 487M 83 Linux
/dev/sda2 1001470 67106815 66105346 31,5G 5 Étendue
/dev/sda5 1001472 67106815 66105344 31,5G 8e LVM Linux
Disque /dev/mapper/FOG--vg-root : 23,7 GiB, 25409093632 octets, 49627136 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disque /dev/mapper/FOG--vg-swap_1 : 7,8 GiB, 8384413696 octets, 16375808 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
root@FOG:/etc# cfdisk
disque : /dev/sda
taille : 32 GiB, 34359738368 octets, 67108864 secteurs
Label: dos, identifier: 0x7febed51
Périphérique Amorçage Start Fin Secteurs Size Id Type
>> /dev/sda1 * 2048 999423 997376 487M 83 Linux
/dev/sda2 1001470 67106815 66105346 31,5G 5 Étendue
└─/dev/sda5 1001472 67106815 66105344 31,5G 8e LVM Linux
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x Partition type: Linux (83) x
x Attributes: 80 x
x Filesystem: ext2 x
xFilesystem UUID: 49e83057-67eb-47f0-a284-d5a3674f7e57 x
x Mountpoint: /boot (mounted) x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
[Amorçable] [Supprimer] [ Quitter ] [ Type ] [ Aide ] [ Écrire ] [ Dump ]
voici le message d'erreur lorsque je veux le monter après avoir créer le dossier sdb
root@FOG:/etc# mount /dev/sdb1 /media/sdb
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
donc ensuite je fais ça :
root@FOG:/etc# dmesg | tail
[ 11.413539] audit: type=1400 audit(1486636661.188:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lxc-container-default-with-nesting" pid=1009 comm="apparmor_parser"
[ 11.422226] audit: type=1400 audit(1486636661.196:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lxd/lxd-bridge-proxy" pid=1013 comm="apparmor_parser"
[ 11.459579] audit: type=1400 audit(1486636661.232:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/tcpdump" pid=1017 comm="apparmor_parser"
[ 11.711321] IPv6: ADDRCONF(NETDEV_UP): ens18: link is not ready
[ 11.716501] e1000: ens18 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 11.716886] IPv6: ADDRCONF(NETDEV_CHANGE): ens18: link becomes ready
[ 13.153812] cgroup: new mount options do not match the existing superblock, will be ignored
[ 14.131881] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[ 14.253822] NFSD: starting 90-second grace period (net ffffffff81ef56c0)
[ 867.194832] EXT4-fs (sdb): VFS: Can't find ext4 filesystem
et maintenant je sais pas quoi foire
j'ai déjà fait plein de manipulations dessus, donc ceci peut expliquer cela. mais j'ai tout essayé pour que ça fonctionne donc de l'aide pas à pas serait la bienvenue.
Merci pour votre future aide
Dernière modification par rattrappemoi (Le 09/02/2017, à 12:11)
Hors ligne
#2 Le 09/02/2017, à 12:29
- rattrappemoi
Re : ajout d'un disque dans FOG
j'viens de le formater et voilà ce qu'il m'affiche
root@FOG:~# dmesg | tail
[ 11.558824] e1000: ens18 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 11.774984] cgroup: new mount options do not match the existing superblock, will be ignored
[ 13.525345] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[ 13.581641] NFSD: starting 90-second grace period (net ffffffff81ef56c0)
[ 57.499947] EXT4-fs (sdb1): unable to read superblock
[ 57.500034] EXT4-fs (sdb1): unable to read superblock
[ 57.500126] EXT4-fs (sdb1): unable to read superblock
[ 59.384623] EXT4-fs (sdb1): unable to read superblock
[ 59.384716] EXT4-fs (sdb1): unable to read superblock
[ 59.384814] EXT4-fs (sdb1): unable to read superblock
Hors ligne
Pages : 1