bonjour,
le transfert par dd if=/dev/sdc of=/dev/sdb bs=4M;sync;sync
2 partitions copiées /boot et /
au reboot erreur
dd if=/dev/sdc of=/dev/sdc count=440;sync;sync
copie du bootstrap
reboot OK
recréation du vgroup avec le même nom
ensuite
Error during parsing of command line.
[root@alpha30 ~]# vgextend --L +25G /dev/sdb2/fedora00
vgextend : option non reconnue '--L'
Error during parsing of command line.
[root@alpha30 ~]# lvdisplay
--- Logical volume ---
LV Path /dev/fedora/swap
LV Name swap
VG Name fedora
LV UUID 8h3yHN-wt0W-ehYg-csp7-0BI2-jN7y-D2LmBU
LV Write Access read/write
LV Creation host, time alpha30, 2017-04-07 16:29:36 +0200
LV Status available
# open 0
LV Size 5,95 GiB
Current LE 1524
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
--- Logical volume ---
LV Path /dev/fedora/home
LV Name home
VG Name fedora
LV UUID pMPbYC-Zggz-4O2Z-WTO5-nGzk-VThN-m1Ok0l
LV Write Access read/write
LV Creation host, time alpha30, 2017-04-07 16:29:36 +0200
LV Status available
# open 0
LV Size 166,61 GiB
Current LE 42653
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:3
--- Logical volume ---
LV Path /dev/fedora/root
LV Name root
VG Name fedora
LV UUID snthVW-at6X-79y8-akbv-ypnF-dkEG-EQ8Ooc
LV Write Access read/write
LV Creation host, time alpha30, 2017-04-07 16:30:11 +0200
LV Status available
# open 0
LV Size 50,00 GiB
Current LE 12800
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:4
--- Logical volume ---
LV Path /dev/fedora00/swap
LV Name swap
VG Name fedora00
LV UUID bsl2GP-YHOz-OCI0-lo2c-p0gg-oUrz-xERRkt
LV Write Access read/write
LV Creation host, time alpha30, 2017-05-06 12:24:43 +0200
LV Status available
# open 0
LV Size 1,95 GiB
Current LE 500
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
--- Logical volume ---
LV Path /dev/fedora00/root
LV Name root
VG Name fedora00
LV UUID IFSABv-w2bs-hhjs-wRMP-Qqyv-BYgl-jp9gI3
LV Write Access read/write
LV Creation host, time alpha30, 2017-05-06 12:24:43 +0200
LV Status available
# open 1
LV Size <116,02 GiB
Current LE 29700
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
[root@alpha30 ~]# gparted
Created symlink /run/systemd/system/-.mount → /dev/null.
Created symlink /run/systemd/system/boot.mount → /dev/null.
Created symlink /run/systemd/system/proc-fs-nfsd.mount → /dev/null.
Created symlink /run/systemd/system/run-user-0.mount → /dev/null.
Created symlink /run/systemd/system/sysroot.mount → /dev/null.
Created symlink /run/systemd/system/tmp.mount → /dev/null.
Created symlink /run/systemd/system/var-lib-docker-containers.mount → /dev/null.
Created symlink /run/systemd/system/var-lib-docker-overlay2.mount → /dev/null.
Created symlink /run/systemd/system/var-lib-machines.mount → /dev/null.
Created symlink /run/systemd/system/var-lib-nfs-rpc_pipefs.mount → /dev/null.
======================
libparted : 3.2
======================
Removed /run/systemd/system/-.mount.
Removed /run/systemd/system/boot.mount.
Removed /run/systemd/system/proc-fs-nfsd.mount.
Removed /run/systemd/system/run-user-0.mount.
Removed /run/systemd/system/sysroot.mount.
Removed /run/systemd/system/tmp.mount.
Removed /run/systemd/system/var-lib-docker-containers.mount.
Removed /run/systemd/system/var-lib-docker-overlay2.mount.
Removed /run/systemd/system/var-lib-machines.mount.
Removed /run/systemd/system/var-lib-nfs-rpc_pipefs.mount.
[root@alpha30 ~]# vgdisplay
--- Volume group ---
VG Name fedora
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size <222,57 GiB
PE Size 4,00 MiB
Total PE 56977
Alloc PE / Size 56977 / <222,57 GiB
Free PE / Size 0 / 0
VG UUID qAwGHE-YAeL-a22l-bMzM-HJ2z-3x8h-ay9khS
--- Volume group ---
VG Name fedora00
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 11
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 1
Max PV 0
Cur PV 2
Act PV 2
VG Size 1,02 TiB
PE Size 4,00 MiB
Total PE 268479
Alloc PE / Size 30200 / <117,97 GiB
Free PE / Size 238279 / <930,78 GiB
VG UUID J3mlD0-qPg3-t8Tf-ZZj7-C1SC-Ylw7-JyRoZP
[root@alpha30 ~]# iwconfig
j'ai tatonné, je n'ai pas l'habitude de manipuler lvm2 pv
le df -k ne me plait pas malgré l'agranssiment avec gparted
[root@alpha30 ~]# df -k
Sys. de fichiers blocs de 1K Utilisé Disponible Uti% Monté sur
devtmpfs 2753368 0 2753368 0% /dev
tmpfs 2767388 34668 2732720 2% /dev/shm
tmpfs 2767388 9668 2757720 1% /run
tmpfs 2767388 0 2767388 0% /sys/fs/cgroup
/dev/mapper/fedora00-root 89118720 86518720 2600000 98% /
tmpfs 2767388 20 2767368 1% /tmp
/dev/sdb1 999320 187144 743364 21% /boot
tmpfs 553476 36 553440 1% /run/user/0
[root@alpha30 ~]#
j'attends le plantage!