Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 13/01/2021, à 05:46

samprzyswa

Re : Créer un RAID-1 sur installation LVM

Bonjour,

Je viens de planter ma machine en voulant redimensionner un volume suite à un message d'erreur...

Je suis connecté depuis un live-USB 20.04 LTS en mode persistant, je ne suis pas dans la merde là je ne sais pas si je vais arriver à récupérer le filesystem et les données...

Mon boot-info:
http://paste.ubuntu.com/p/pbFcWTZYWh/plain/

Sam

Dernière modification par samprzyswa (Le 13/01/2021, à 06:22)


Système: Ubuntu 20.04.4
Carte mère MSI B560 PRO-VDH | Carte graphique Radeon HD 7450
Intel(R) Core(TM) i3-10105F CPU @ 3.70GHz
Linux RAID1 2X1Tb

Hors ligne

#27 Le 13/01/2021, à 12:45

geole

Re : Créer un RAID-1 sur installation LVM

Bonjour
J'ai récupéré le rapport.( Cela nécessite un compte que tout le monde ne possède pas)

boot-repair-4ppa125                                              [20210113_0257]

============================== Boot Info Summary ===============================

 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sda.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       ext2
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /grub/grub.cfg /grub/i386-pc/core.img

sda2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       linux_raid_member
    Boot sector type:  -
    Boot sector info: 

sdb1: __________________________________________________________________________

    File system:       ext2
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /grub/grub.cfg /grub/i386-pc/core.img

sdb2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Unknown
    Boot sector info: 

sdb5: __________________________________________________________________________

    File system:       linux_raid_member
    Boot sector type:  -
    Boot sector info: 

md/0: __________________________________________________________________________

    File system:       LVM2_member
    Boot sector type:  -
    Boot sector info: 

sdc: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg


================================ 0 OS detected =================================


============================ Architecture/Host Info ============================

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)


===================================== UEFI =====================================

BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled.

efibootmgr -v
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0001
Boot0001* Hard Drive	BBS(HD,,0x0)..GO..NO........o.S.T.1.0.0.0.D.M.0.1.0.-.2.E.P.1.0.2....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .9.W.L.A.7.B.A.C........BO..NO........o.S.T.1.0.0.0.D.M.0.1.0.-.2.E.P.1.0.2....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .9.Z.F.A.1.P.G.Z........BO..NO........S.G.e.n.e.r.i.c. .F.l.a.s.h. .D.i.s.k. .8...0.7....................A.......................&..Gd-.;.A..MQ..L.B.D.9.A.A.3.C.6........BO
Boot0002* UEFI: Generic Flash Disk 8.07	PciRoot(0x0)/Pci(0x14,0x0)/USB(4,0)/CDROM(1,0x3c4,0x4d00)..BO



============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	2048 sectors * 512 bytes
sdb	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	grubenv-ng,	noupdategrub,	not-far
sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	grubenv-ok,	noupdategrub,	not-far

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: is-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sdb1	: is-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0xa209e489
      Boot   Start        End    Sectors  Size Id Type
sda1  *       2048     999423     997376  487M 83 Linux
sda2       1001470 1953523711 1952522242  931G  5 Extended
sda5       1001472 1953523711 1952522240  931G fd Linux raid autodetect
Disk sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0x2fb1a8d7
      Boot   Start        End    Sectors  Size Id Type
sdb1  *       2048     999423     997376  487M 83 Linux
sdb2       1001470 1953523711 1952522242  931G  5 Extended
sdb5       1001472 1953523711 1952522240  931G fd Linux raid autodetect
Disk sdc: 14.9 GiB, 15938355200 bytes, 31129600 sectors
Disk identifier: 0x2c534026
      Boot Start     End Sectors  Size Id Type
sdc1  *        0 1802239 1802240  880M  0 Empty
sdc2         964    5891    4928  2.4M ef EFI (FAT-12/16/32)
Disk zram0: 2 GiB, 2084315136 bytes, 508866 sectors
Disk zram1: 2 GiB, 2084315136 bytes, 508866 sectors
Disk zram2: 2 GiB, 2084315136 bytes, 508866 sectors
Disk zram3: 2 GiB, 2084315136 bytes, 508866 sectors
Disk md0: 930.9 GiB, 999556120576 bytes, 1952258048 sectors

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:msdos:ATA ST1000DM010-2EP1:;
1:1049kB:512MB:511MB:ext2::boot;
2:513MB:1000GB:1000GB:::;
5:513MB:1000GB:1000GB:::raid;
sdb:1000GB:scsi:512:4096:msdos:ATA ST1000DM010-2EP1:;
1:1049kB:512MB:511MB:ext2::boot;
2:513MB:1000GB:1000GB:::;
5:513MB:1000GB:1000GB:::raid;
sdc:15.9GB:scsi:512:512:msdos:Generic Flash Disk:;
2:494kB:3017kB:2523kB:::esp;
zram3:2084MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:2084MB:2084MB:linux-swap(v1)::;
zram1:2084MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:2084MB:2084MB:linux-swap(v1)::;
md0:1000GB:md:512:4096:unknown:Linux Software RAID Array:;
zram2:2084MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:2084MB:2084MB:linux-swap(v1)::;
zram0:2084MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:2084MB:2084MB:linux-swap(v1)::;

blkid (filtered): ______________________________________________________________

NAME    FSTYPE            UUID                                   PARTUUID                             LABEL                       PARTLABEL
sda                                                                                                                               
├─sda1  ext2              d0f7d742-1323-4e20-ad59-0e748da03201   a209e489-01                                                      
├─sda2                                                           a209e489-02                                                      
└─sda5  linux_raid_member 23bb85b0-fb9f-81a8-d54c-13df0e110c8a   a209e489-05                          jupiter.arial-concept.com:0 
  └─md0 LVM2_member       A3ZdvZ-zaGp-eHcw-NRC1-RT9j-3nUA-swHfJT                                                                  
sdb                                                                                                                               
├─sdb1  ext2              d0f7d742-1323-4e20-ad59-0e748da03201   2fb1a8d7-01                          /boot                       
└─sdb5  linux_raid_member 23bb85b0-fb9f-81a8-d54c-13df0e110c8a   2fb1a8d7-05                          jupiter.arial-concept.com:0 
  └─md0 LVM2_member       A3ZdvZ-zaGp-eHcw-NRC1-RT9j-3nUA-swHfJT                                                                  
sdc     iso9660           2020-06-13-00-42-55-00                                                      Boot-Repair-Disk 64bit      
├─sdc1  iso9660           2020-06-13-00-42-55-00                 2c534026-01                          Boot-Repair-Disk 64bit      
└─sdc2  vfat              D055-8513                              2c534026-02                          Boot-Repair-Disk 64bit      
zram0                                                                                                                             
zram1                                                                                                                             
zram2                                                                                                                             
zram3                                                                                                                             

df (filtered): _________________________________________________________________

        Avail Use% Mounted on
sda1   239.3M  44% /mnt/boot-sav/sda1
sdb1   239.3M  44% /mnt/boot-sav/sdb1
sdc         0 100% /cdrom

Mount options: __________________________________________________________________

sda1   rw,relatime,stripe=4
sdb1   rw,relatime,stripe=4
sdc    ro,noatime,nojoliet,check=s,map=n,blocksize=2048

======================== sda1/grub/grub.cfg (filtered) =========================

Ubuntu   9d75c8bd-bfda-4351-a327-3bfa211d72ea
Ubuntu, avec Linux 5.4.0-60-generic   9d75c8bd-bfda-4351-a327-3bfa211d72ea
Ubuntu, avec Linux 5.4.0-59-generic   9d75c8bd-bfda-4351-a327-3bfa211d72ea
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

==================== sda1: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
   0.067875862 = 0.072881152    grub/grub.cfg                                  4
   0.399896622 = 0.429385728    grub/i386-pc/core.img                          2
   0.297017097 = 0.318919680    vmlinuz                                       13
   0.248188972 = 0.266490880    vmlinuz-5.4.0-59-generic                      15
   0.297017097 = 0.318919680    vmlinuz-5.4.0-60-generic                      13
   0.248188972 = 0.266490880    vmlinuz.old                                   15
   0.443170547 = 0.475850752    initrd.img                                    30
   0.269342422 = 0.289204224    initrd.img-5.4.0-59-generic                   37
   0.443170547 = 0.475850752    initrd.img-5.4.0-60-generic                   30
   0.269342422 = 0.289204224    initrd.img.old                                37

======================== sdb1/grub/grub.cfg (filtered) =========================

Ubuntu   9d75c8bd-bfda-4351-a327-3bfa211d72ea
Ubuntu, avec Linux 5.4.0-60-generic   9d75c8bd-bfda-4351-a327-3bfa211d72ea
Ubuntu, avec Linux 5.4.0-59-generic   9d75c8bd-bfda-4351-a327-3bfa211d72ea
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

==================== sdb1: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
   0.067875862 = 0.072881152    grub/grub.cfg                                  4
   0.399896622 = 0.429385728    grub/i386-pc/core.img                          2
   0.297017097 = 0.318919680    vmlinuz                                       13
   0.248188972 = 0.266490880    vmlinuz-5.4.0-59-generic                      15
   0.297017097 = 0.318919680    vmlinuz-5.4.0-60-generic                      13
   0.248188972 = 0.266490880    vmlinuz.old                                   15
   0.443170547 = 0.475850752    initrd.img                                    30
   0.269342422 = 0.289204224    initrd.img-5.4.0-59-generic                   37
   0.443170547 = 0.475850752    initrd.img-5.4.0-60-generic                   30
   0.269342422 = 0.289204224    initrd.img.old                                37

====================== sdc/boot/grub/grub.cfg (filtered) =======================

Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)

==================== sdc: Location of files loaded by Grub =====================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1


======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sdb2


Unknown BootLoader on sdc

00000000  33 ed 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |3...............|
00000010  90 90 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f3 06 b4 42 eb 15 eb 02  |...t.f.....B....|
00000070  31 c9 5a 51 b4 08 cd 13  5b 0f b6 c6 40 50 83 e1  |1.ZQ....[...@P..|
00000080  3f 51 f7 e1 53 52 50 bb  00 7c b9 04 00 66 a1 b0  |?Q..SRP..|...f..|
00000090  07 e8 44 00 0f 82 80 00  66 40 80 c7 02 e2 f2 66  |..D.....f@.....f|
000000a0  81 3e 40 7c fb c0 78 70  75 09 fa bc ec 7b ea 44  |.>@|..xpu....{.D|
000000b0  7c 00 00 e8 83 00 69 73  6f 6c 69 6e 75 78 2e 62  ||.....isolinux.b|
000000c0  69 6e 20 6d 69 73 73 69  6e 67 20 6f 72 20 63 6f  |in missing or co|
000000d0  72 72 75 70 74 2e 0d 0a  66 60 66 31 d2 66 03 06  |rrupt...f`f1.f..|
000000e0  f8 7b 66 13 16 fc 7b 66  52 66 50 06 53 6a 01 6a  |.{f...{fRfP.Sj.j|
000000f0  10 89 e6 66 f7 36 e8 7b  c0 e4 06 88 e1 88 c5 92  |...f.6.{........|
00000100  f6 36 ee 7b 88 c6 08 e1  41 b8 01 02 8a 16 f2 7b  |.6.{....A......{|
00000110  cd 13 8d 64 10 66 61 c3  e8 1e 00 4f 70 65 72 61  |...d.fa....Opera|
00000120  74 69 6e 67 20 73 79 73  74 65 6d 20 6c 6f 61 64  |ting system load|
00000130  20 65 72 72 6f 72 2e 0d  0a 5e ac b4 0e 8a 3e 62  | error...^....>b|
00000140  04 b3 07 cd 10 3c 0a 75  f1 cd 18 f4 eb fd 00 00  |.....<.u........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  04 17 00 00 00 00 00 00  26 40 53 2c 00 00 80 00  |........&@S,....|
000001c0  01 00 00 3f e0 6f 00 00  00 00 00 80 1b 00 00 fe  |...?.o..........|
000001d0  ff ff ef fe ff ff c4 03  00 00 40 13 00 00 00 00  |..........@.....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


=============================== StdErr Messages ================================

hexdump: /dev/sdb2: No such device or address
hexdump: /dev/sdb2: No such device or address
File descriptor 63 (pipe:[63662]) leaked on lvs invocation. Parent PID 24057: /bin/bash
  WARNING: Device /dev/md0 has size of 1952258048 sectors which is smaller than corresponding PV size of 1952530350 sectors. Was device resized?
  One or more devices used as PVs in VG ubuntu-vg have changed sizes.
File descriptor 63 (pipe:[63662]) leaked on lvchange invocation. Parent PID 3401: /bin/bash
  WARNING: Device /dev/md0 has size of 1952258048 sectors which is smaller than corresponding PV size of 1952530350 sectors. Was device resized?
  One or more devices used as PVs in VG ubuntu-vg have changed sizes.
  device-mapper: reload ioctl on  (253:0) failed: Invalid argument
/usr/share/boot-sav/b-i-s-functions.sh: line 1653: 1952522240S: value too great for base (error token is "1952522240S")

================================= User choice ==================================

[dmraid] packages may interfere with MDraid. Do you want to remove them? yes

================================ LVM activation ================================

modprobe dm-mod  
vgscan --mknodes
  Reading volume groups from cache.
  Found volume group "ubuntu-vg" using metadata type lvm2
vgchange -ay
  0 logical volume(s) in volume group "ubuntu-vg" now active
lvscan
  inactive          '/dev/ubuntu-vg/root' [<931.04 GiB] inherit
blkid -g


=================== blkid (filtered) before raid activation: ===================
/dev/sda1: UUID="d0f7d742-1323-4e20-ad59-0e748da03201" TYPE="ext2" PARTUUID="a209e489-01"
/dev/sda5: UUID="23bb85b0-fb9f-81a8-d54c-13df0e110c8a" UUID_SUB="d6406acf-851d-81e4-8b6f-ab37e085dc67" LABEL="jupiter.arial-concept.com:0" TYPE="linux_raid_member" PARTUUID="a209e489-05"
/dev/sdb1: LABEL="/boot" UUID="d0f7d742-1323-4e20-ad59-0e748da03201" TYPE="ext2" PARTUUID="2fb1a8d7-01"
/dev/sdb5: UUID="23bb85b0-fb9f-81a8-d54c-13df0e110c8a" UUID_SUB="8d23e3ff-5fed-a11b-dad3-58917dfce22d" LABEL="jupiter.arial-concept.com:0" TYPE="linux_raid_member" PARTUUID="2fb1a8d7-05"
/dev/sdc1: UUID="2020-06-13-00-42-55-00" LABEL="Boot-Repair-Disk 64bit" TYPE="iso9660" PTUUID="2c534026" PTTYPE="dos" PARTUUID="2c534026-01"
/dev/sdc2: SEC_TYPE="msdos" UUID="D055-8513" TYPE="vfat" PARTUUID="2c534026-02"
/dev/zram0: UUID="c81f5bd9-c7ef-4c7d-bd1b-46d013127e60" TYPE="swap"
/dev/zram1: UUID="3066e44b-d72b-4f58-9fa7-011bdce02a27" TYPE="swap"
/dev/zram2: UUID="49ce454a-7ad6-4480-8251-80d2c944804f" TYPE="swap"
/dev/zram3: UUID="df2bbd9a-6238-4875-a7ab-34fcd3ba4f03" TYPE="swap"
/dev/md0: UUID="A3ZdvZ-zaGp-eHcw-NRC1-RT9j-3nUA-swHfJT" TYPE="LVM2_member"
dmraid -si -c
no raid disks
No DMRAID disk.
apt-get remove -y dmraid
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
  dmraid
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 98.3 kB disk space will be freed.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 96548 files and directories currently installed.)
Removing dmraid (1.0.0.rc16-8ubuntu1) ...
update-initramfs is disabled since running on read-only media
mdadm --assemble --scan

mdadm --detail --scan
ARRAY /dev/md/0 metadata=1.2 name=jupiter.arial-concept.com:0 UUID=23bb85b0:fb9f81a8:d54c13df:0e110c8a
Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would not act on the boot.

J'espère que ceux qui maîtrisent le LVM pourront d'aider.
Je n'ai pas l'habitude d'interpréter boot-info en LVM
================================ 0 OS detected =================================

En tout cas, on sait que le LVM est toujours présent

lkid (filtered): ______________________________________________________________
NAME    FSTYPE            UUID                                   PARTUUID                             LABEL                       PARTLABEL
sda                                                                                                                               
└─sda5  linux_raid_member 23bb85b0-fb9f-81a8-d54c-13df0e110c8a   a209e489-05                          jupiter.arial-concept.com:0 
  └─md0 LVM2_member       A3ZdvZ-zaGp-eHcw-NRC1-RT9j-3nUA-swHfJT                                                                  
sdb                                                                                                                               
└─sdb5  linux_raid_member 23bb85b0-fb9f-81a8-d54c-13df0e110c8a   2fb1a8d7-05                          jupiter.arial-concept.com:0 
  └─md0 LVM2_member       A3ZdvZ-zaGp-eHcw-NRC1-RT9j-3nUA-swHfJT   

Il y a ces messages d'avertissement qui peuvent donner une piste

============================== StdErr Messages ================================

File descriptor 63 (pipe:[63662]) leaked on lvs invocation. Parent PID 24057: /bin/bash
  WARNING: Device /dev/md0 has size of 1952258048 sectors which is smaller than corresponding PV size of 1952530350 sectors. Was device resized?
  One or more devices used as PVs in VG ubuntu-vg have changed sizes.
File descriptor 63 (pipe:[63662]) leaked on lvchange invocation. Parent PID 3401: /bin/bash
  WARNING: Device /dev/md0 has size of 1952258048 sectors which is smaller than corresponding PV size of 1952530350 sectors. Was device resized?
  One or more devices used as PVs in VG ubuntu-vg have changed sizes.
  device-mapper: reload ioctl on  (253:0) failed: Invalid argument
/usr/share/boot-sav/b-i-s-functions.sh: line 1653: 1952522240S: value too great for base (error token is "1952522240S")

   Il est probable que tu aies  trop agrandir "l'intérieur" par rapport a la taille phique du RAIDS. Je pense? que cela peut se réparer en live-usb
     En LVM, il me semble que les unités sont de 4096 octets alors qu'en gparted, elles sont de 512 octets
    ==> Le raids a un "chapeau" pour héberger les partitions. Tu as probablemnt oublié d'en tenir compte    Tu as certainement pris la taiolle du disque au lieu de la taille de la partition raids

Mais il est surprenant que tu n'aies pas reçu un message d'alerte...  Le LVM serait-il si mal testé?

Dernière modification par geole (Le 13/01/2021, à 13:09)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#28 Le 13/01/2021, à 19:25

samprzyswa

Re : Créer un RAID-1 sur installation LVM

geole a écrit :

   Il est probable que tu aies  trop agrandir "l'intérieur" par rapport a la taille phique du RAIDS. Je pense? que cela peut se réparer en live-usb
     En LVM, il me semble que les unités sont de 4096 octets alors qu'en gparted, elles sont de 512 octets
    ==> Le raids a un "chapeau" pour héberger les partitions. Tu as probablemnt oublié d'en tenir compte    Tu as certainement pris la taiolle du disque au lieu de la taille de la partition raids

Mais il est surprenant que tu n'aies pas reçu un message d'alerte...  Le LVM serait-il si mal testé?

En fait c'est en voulant corriger le problème de taille du device avec le LVM  manager de Webmin, j'ai bien eu un message d'alerte avant de valider mais je ne sais pourquoi il a validé de lui-même. Je ne sais toujours pas comment corriger cette erreur de taille si je pouvais récupérer les données disque...Auquel cas je refais une configuration en RAID1 seule sans LVM tant pis, toutes mes données ont été backupés y compris le repertoire /etc.

Sam.


Système: Ubuntu 20.04.4
Carte mère MSI B560 PRO-VDH | Carte graphique Radeon HD 7450
Intel(R) Core(TM) i3-10105F CPU @ 3.70GHz
Linux RAID1 2X1Tb

Hors ligne

#29 Le 13/01/2021, à 20:04

geole

Re : Créer un RAID-1 sur installation LVM

Désolé, je ne connais que la ligne de commande. https://doc.ubuntu-fr.org/lvm#agrandissement


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#30 Le 13/01/2021, à 20:38

samprzyswa

Re : Créer un RAID-1 sur installation LVM

geole a écrit :

Désolé, je ne connais que la ligne de commande. https://doc.ubuntu-fr.org/lvm#agrandissement

Oui moi aussi mais comme je ne savais quelle commande utiliser et pour éviter de faire une connerie (...) je me suis fié à Webmin qui normalement gère bien et prévient en cas de risque, ce qu'il a fait mais pour une raison inconnue ou peut-être un mauvais mouvement de ma part à validé l'opération...

Sam.


Système: Ubuntu 20.04.4
Carte mère MSI B560 PRO-VDH | Carte graphique Radeon HD 7450
Intel(R) Core(TM) i3-10105F CPU @ 3.70GHz
Linux RAID1 2X1Tb

Hors ligne