/
Forside
/
Teknologi
/
Operativsystemer
/
Linux
/
Nyhedsindlæg
Login
Brugernavn
*
Kodeord
*
Husk mig
Brugerservice
Kom godt i gang
Bliv medlem
Seneste indlæg
Stil et spørgsmål
Skriv et tip
Pointsystemet
Kontakt Kandu.dk
Emnevisning
Kategorier
Alfabetisk
Karriere
Interesser
Teknologi
Reklame
Top 10 brugere
Linux
#
Navn
Point
1
o.v.n.
11177
2
peque
7911
3
dk
4814
4
e.c
2359
5
Uranus
1334
6
emesen
1334
7
stone47
1307
8
linuxrules
1214
9
Octon
1100
10
BjarneD
875
Problemer med at lave en LVM partition
Fra :
John
Dato :
20-02-08 09:41
Jeg har været ved at oprette en ny LVM partition bestående af to nye diske
og én eksisterende (ikke-LVM) disk.
Der er gået noget galt i det, så nu vil jeg gerne starte forfra men hvis jeg
f.eks. skriver:
[root@ ~]# pvdisplay
Couldn't find device with uuid 'FwUTmu[CUT]Wy8ai'.
Couldn't find device with uuid 'FwUTmu[CUT]Wy8ai'.
Couldn't find device with uuid 'FwUTmu[CUT]Wy8ai'.
ouldn't find all physical volumes for volume group VolGroup00.
Couldn't find device with uuid 'FwUTmu[CUT]QWy8ai'.
Couldn't find all physical volumes for volume group VolGroup00.
Can't read VolGroup00: skipping
Couldn't find device with uuid 'FwUTmu[CUT]QWy8ai'.
Couldn't find all physical volumes for volume group VolGroup00.
Couldn't find device with uuid 'FwUTmu[CUT]QWy8ai'.
Couldn't find all physical volumes for volume group VolGroup00.
Can't read VolGroup00: skipping
Det drejer sig om følgende partitioner:
[root@ ~]# fdisk -l /dev/hdc
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 255 2048256 83 Linux
/dev/hdc2 256 13003 102398310 83 Linux
/dev/hdc3 13004 14023 8193150 82 Linux swap
/dev/hdc4 14024 60801 375744285 5 Extended
/dev/hdc5 14024 60801 375744253+ 8e Linux LVM
[root@ ~]# fdisk -l /dev/sda
Device Boot Start End Blocks Id System
/dev/sda1 1 60801 488384001 8e Linux LVM
[root@ ~]# fdisk -l /dev/sdb
Device Boot Start End Blocks Id System
/dev/sdb1 1 60801 488384001 8e Linux LVM
Uanset hvilken LVM kommando jeg skriver, får jeg ovenstående fejl med UUID.
UUID'en kan jeg slet ikke finde:
[root@ ~]# blkid
/dev/hda1: TYPE="ntfs"
/dev/hda2: TYPE="ntfs"
/dev/hdc1: LABEL="/boot" UUID="5167c7da-62d3-485d-9a5b-6b7e51f58e8e"
SEC_TYPE="ext3" TYPE="ext2"
/dev/hdc2: LABEL="/" UUID="b57ea6c7-33bb-4cda-9fd3-eb69c31493fe"
SEC_TYPE="ext3" TYPE="ext2"
/dev/hdc3: TYPE="swap"
/dev/sdb1: UUID="16539b55-bb38-460d-ba14-0fcecb20a175" SEC_TYPE="ext3"
TYPE="ext2"
/dev/dm-0: UUID="f5a1729b-743a-4ba3-8f9f-f7b2fdf8b60e" SEC_TYPE="ext3"
TYPE="ext2"
... men bemærk også at "sda" ikke står der - er dét problemet?
Der ligger intet på de partitioner, så jeg kan tillade mig at slette dem
helt, men hvordan kommer jeg videre herfra?
John (
20-02-2008
)
Kommentar
Fra :
John
Dato :
20-02-08 09:43
> [root@ ~]# blkid
> /dev/hda1: TYPE="ntfs"
> /dev/hda2: TYPE="ntfs"
> /dev/hdc1: LABEL="/boot" UUID="5167c7da-62d3-485d-9a5b-6b7e51f58e8e"
> SEC_TYPE="ext3" TYPE="ext2"
> /dev/hdc2: LABEL="/" UUID="b57ea6c7-33bb-4cda-9fd3-eb69c31493fe"
> SEC_TYPE="ext3" TYPE="ext2"
> /dev/hdc3: TYPE="swap"
> /dev/sdb1: UUID="16539b55-bb38-460d-ba14-0fcecb20a175" SEC_TYPE="ext3"
> TYPE="ext2"
> /dev/dm-0: UUID="f5a1729b-743a-4ba3-8f9f-f7b2fdf8b60e" SEC_TYPE="ext3"
> TYPE="ext2"
>
> .. men bemærk også at "sda" ikke står der - er dét problemet?
"hdc5" er der heller ikke men det er "sdb1"?
John (
20-02-2008
)
Kommentar
Fra :
John
Dato :
20-02-08 12:46
> Der er gået noget galt i det, så nu vil jeg gerne starte forfra men hvis
> jeg f.eks. skriver:
>
> [root@ ~]# pvdisplay
> Couldn't find device with uuid 'FwUTmu[CUT]Wy8ai'.
> Couldn't find device with uuid 'FwUTmu[CUT]Wy8ai'.
> Couldn't find device with uuid 'FwUTmu[CUT]Wy8ai'.
> ouldn't find all physical volumes for volume group VolGroup00.
> Couldn't find device with uuid 'FwUTmu[CUT]QWy8ai'.
> Couldn't find all physical volumes for volume group VolGroup00.
> Can't read VolGroup00: skipping
> Couldn't find device with uuid 'FwUTmu[CUT]QWy8ai'.
> Couldn't find all physical volumes for volume group VolGroup00.
> Couldn't find device with uuid 'FwUTmu[CUT]QWy8ai'.
> Couldn't find all physical volumes for volume group VolGroup00.
> Can't read VolGroup00: skipping
[CUT]
Problemet løst med noget så simpelt som en:
pvcreate --force /dev/hdc5
(samt de to andre partitioner)
Søg
Alle emner
Teknologi
Operativsystemer
Linux
Indstillinger
Spørgsmål
Tips
Usenet
Reklame
Statistik
Spørgsmål :
177817
Tips :
31980
Nyheder :
719565
Indlæg :
6410968
Brugere :
218912
Månedens bedste
Årets bedste
Sidste års bedste
Copyright © 2000-2026 kandu.dk. Alle rettigheder forbeholdes.