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.

#1 Le 22/01/2014, à 13:13

papilonaa

comment suprimer lvm

Bonjour, j ai suprime avec os uninstaller un sabayon, en l instalant il avait cree un lvm comment le suprimer lui aussi?, avec gparted il n y arrive pas , merci

Hors ligne

#2 Le 22/01/2014, à 13:17

Compte anonymisé

Re : comment suprimer lvm

Salut

Que donne depuis un LiveCD/USB les commandes :
sudo  fdisk  -l
sudo  lvdisplay

#3 Le 23/01/2014, à 10:34

papilonaa

Re : comment suprimer lvm

Merci pour ton aide voila le resultat

ubuntu@ubuntu:~$ sudo  fdisk  -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000103ed

   Device Boot      Start         End      Blocks   Id  System
/dev/sda2       210018302   625141759   207561729    5  Extended
/dev/sda3       102490112   210016255    53763072   83  Linux
/dev/sda5       608899072   625141759     8121344   82  Linux swap / Solaris
/dev/sda6   *   219006976   388708351    84850688   83  Linux
/dev/sda7       494667776   608894975    57113600   83  Linux
/dev/sda8       210018304   219004927     4493312   82  Linux swap / Solaris
/dev/sda9       388710400   494665727    52977664   83  Linux

Partition table entries are not in disk order

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd547ce50

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *       16128   488397167   244190520    b  W95 FAT32

Disk /dev/mapper/vg_do-lv_root: 26.6 GB, 26642219008 bytes
255 heads, 63 sectors/track, 3239 cylinders, total 52035584 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2052474d

This doesn't look like a partition table
Probably you selected the wrong device.

                    Device Boot      Start         End      Blocks   Id  System
/dev/mapper/vg_do-lv_root1   ?     6579571  1924427647   958924038+  70  DiskSecure Multi-Boot
/dev/mapper/vg_do-lv_root2   ?  1953251627  3771827541   909287957+  43  Unknown
/dev/mapper/vg_do-lv_root3   ?   225735265   225735274           5   72  Unknown
/dev/mapper/vg_do-lv_root4      2642411520  2642463409       25945    0  Empty

Partition table entries are not in disk order

Disk /dev/mapper/vg_do-lv_home: 22.1 GB, 22112370688 bytes
255 heads, 63 sectors/track, 2688 cylinders, total 43188224 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg_do-lv_home doesn't contain a valid partition table

Disk /dev/mapper/vg_do-lv_swap: 6274 MB, 6274678784 bytes
255 heads, 63 sectors/track, 762 cylinders, total 12255232 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg_do-lv_swap doesn't contain a valid partition table
ubuntu@ubuntu:~$ sudo  fdisk  -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000103ed

   Device Boot      Start         End      Blocks   Id  System
/dev/sda2       210018302   625141759   207561729    5  Extended
/dev/sda3       102490112   210016255    53763072   83  Linux
/dev/sda5       608899072   625141759     8121344   82  Linux swap / Solaris
/dev/sda6   *   219006976   388708351    84850688   83  Linux
/dev/sda7       494667776   608894975    57113600   83  Linux
/dev/sda8       210018304   219004927     4493312   82  Linux swap / Solaris
/dev/sda9       388710400   494665727    52977664   83  Linux

Partition table entries are not in disk order

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd547ce50

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *       16128   488397167   244190520    b  W95 FAT32

Disk /dev/mapper/vg_do-lv_root: 26.6 GB, 26642219008 bytes
255 heads, 63 sectors/track, 3239 cylinders, total 52035584 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2052474d

This doesn't look like a partition table
Probably you selected the wrong device.

                    Device Boot      Start         End      Blocks   Id  System
/dev/mapper/vg_do-lv_root1   ?     6579571  1924427647   958924038+  70  DiskSecure Multi-Boot
/dev/mapper/vg_do-lv_root2   ?  1953251627  3771827541   909287957+  43  Unknown
/dev/mapper/vg_do-lv_root3   ?   225735265   225735274           5   72  Unknown
/dev/mapper/vg_do-lv_root4      2642411520  2642463409       25945    0  Empty

Partition table entries are not in disk order

Disk /dev/mapper/vg_do-lv_home: 22.1 GB, 22112370688 bytes
255 heads, 63 sectors/track, 2688 cylinders, total 43188224 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg_do-lv_home doesn't contain a valid partition table

Disk /dev/mapper/vg_do-lv_swap: 6274 MB, 6274678784 bytes
255 heads, 63 sectors/track, 762 cylinders, total 12255232 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg_do-lv_swap doesn't contain a valid partition table
ubuntu@ubuntu:~$ sudo  lvdisplay
  --- Logical volume ---
  LV Path                /dev/vg_do/lv_root
  LV Name                lv_root
  VG Name                vg_do
  LV UUID                tncB8P-mfwd-f8FC-j1lO-4hSq-wHvh-aZc8r6
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 0
  LV Size                24.81 GiB
  Current LE             794
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:0
   
  --- Logical volume ---
  LV Path                /dev/vg_do/lv_home
  LV Name                lv_home
  VG Name                vg_do
  LV UUID                dMBg0d-q0VP-0hqi-THUq-pDEi-lBRY-cR050f
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 0
  LV Size                20.59 GiB
  Current LE             659
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:1
   
  --- Logical volume ---
  LV Path                /dev/vg_do/lv_swap
  LV Name                lv_swap
  VG Name                vg_do
  LV UUID                fto19O-Z0wM-ahpJ-3MJ2-c3N9-4YZR-6eieBQ
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 0
  LV Size                5.84 GiB
  Current LE             187
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:2
   

Hors ligne

#4 Le 23/01/2014, à 10:44

Compte anonymisé

Re : comment suprimer lvm

Maintenant tu fais :
sudo  vgremove  /dev/mapper/vg_do
et
sudo  pvdisplay

Dernière modification par Compte anonymisé (Le 23/01/2014, à 10:50)

#5 Le 23/01/2014, à 10:53

papilonaa

Re : comment suprimer lvm

ubuntu@ubuntu:~$ sudo  pvdisplay
  "/dev/sda3" is a new physical volume of "51.27 GiB"
  --- NEW Physical volume ---
  PV Name               /dev/sda3
  VG Name               
  PV Size               51.27 GiB
  Allocatable           NO
  PE Size               0   
  Total PE              0
  Free PE               0
  Allocated PE          0
  PV UUID               qf9t6i-hQOf-ZYfx-4jJk-T8Ec-2Fm1-VFiXbs
   

Hors ligne

#6 Le 23/01/2014, à 10:57

papilonaa

Re : comment suprimer lvm

bonjour
sur gparted le lvm sur sda3 est tjs present...

Hors ligne

#7 Le 23/01/2014, à 11:02

Compte anonymisé

Re : comment suprimer lvm

Hé oui maintenant il faut faire :
sudo  pvremove  /dev/sda3

#8 Le 23/01/2014, à 11:18

papilonaa

Re : comment suprimer lvm

ubuntu@ubuntu:~$ sudo  pvremove  /dev/sda3
  Labels on physical volume "/dev/sda3" successfully wiped
ubuntu@ubuntu:~$ sudo  pvremove  /dev/sda3
  No physical volume label read from /dev/sda3
  Physical Volume /dev/sda3 not found

heuu tjs la avec un poit d exclamation rouge devant et si je lui fait delete a gparted , pas permis...

Dernière modification par papilonaa (Le 23/01/2014, à 11:19)

Hors ligne

#9 Le 23/01/2014, à 11:29

Compte anonymisé

Re : comment suprimer lvm

Si tu fais un :
sudo mkfs -t ext4  /dev/sda3

#10 Le 23/01/2014, à 11:33

papilonaa

Re : comment suprimer lvm

ubuntu@ubuntu:~$ sudo mkfs -t ext4  /dev/sda3
mke2fs 1.42.9 (28-Dec-2013)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
3360336 inodes, 13440768 blocks
672038 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
411 block groups
32768 blocks per group, 32768 fragments per group
8176 inodes per group
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
	4096000, 7962624, 11239424

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done   

Hors ligne

#11 Le 23/01/2014, à 11:36

papilonaa

Re : comment suprimer lvm

hey...merci
il me semble que ca y est , il a mis un peu de temps mais le lvm est parti, a la place ya un ext4 normal,
dis moi si je veut installer le sabayon sur cette partition , mieux vaut ne pas le mettre en lvm au moment de l instalation..non?

Hors ligne

#12 Le 23/01/2014, à 11:38

Compte anonymisé

Re : comment suprimer lvm

Je ne vois pas l'intérêt du lvm sur une partition. Sur plusieurs oui. Dans ton cas le plus simple est d'installer en ext4 "classique" sans lvm.

#13 Le 23/01/2014, à 11:39

papilonaa

Re : comment suprimer lvm

en fait comme je ne suis pas tres cale , mais j essaye d aprendre, je laisse faire plus ou moins l instalateur automatique
,pour ca,  une autre question il y  a maintenant 2 partitions une formatee en ext4 et l autre non formatee, sabayon choisira la formatee ou l autre?
merci

Hors ligne

#14 Le 23/01/2014, à 11:45

Compte anonymisé

Re : comment suprimer lvm

Je ne connais pas sabayon, mais tu dois pouvoir lui "forcer la main" en choisissant toi même tes partitions et en leur imposant le point de montage : / /home  etc....

#15 Le 23/01/2014, à 11:50

papilonaa

Re : comment suprimer lvm

ok je vais faire ca, merci
j aime avoir plusieurs distros diferentes pour aprendre leur foncionnement
quels sont tes distros preferes actuelement? si c est pas indiscret.

Hors ligne

#16 Le 23/01/2014, à 11:52

Compte anonymisé

Re : comment suprimer lvm

Ubuntu et Débian, mais il y en a une foultitude.

Tu passeras le sujet en "Résolu".
Bonne continuation.

#17 Le 23/01/2014, à 11:59

papilonaa

Re : comment suprimer lvm

Merci a toi aussi

Dernière modification par papilonaa (Le 23/01/2014, à 13:56)

Hors ligne

#18 Le 23/01/2014, à 12:16

michel_04

Re : comment suprimer lvm

Bonjour,

Tu peux ajouter [Résolu] au titre de ton post en cliquant sur "Modifier" au bas de ton premier message, merci.

A+

Hors ligne