Jag hade lite strul när jag uppdaterade från 7.04 till 7.10 (http://ubuntu-se.org/smf/index.php/topi ... 40535.html) så jag tänkte jag skulle göra en fräsh installation av 7.10 istället och förhoppningsvis komma runt massa strul jag haft. Så jag tänkte fråga om råd om vad jag skall tänka på innan jag blåser hda1 och lägger in 7.10 på nytt.
Min hårddiskkonfiguration ser ut så här:
Kod: Markera allt
stefan@server:~$ sudo fdisk -l
[sudo] password for stefan:
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x01ec01f9
Device Boot Start End Blocks Id System
/dev/hda1 1 1824 14651248+ 83 Linux
/dev/hda2 19176 19457 2265165 5 Extended
/dev/hda3 1825 19175 139371907+ 8e Linux LVM
/dev/hda5 19176 19457 2265133+ 82 Linux swap / Solaris
Partition table entries are not in disk order
Disk /dev/hdb: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0xe45de45d
Device Boot Start End Blocks Id System
/dev/hdb1 1 155061 78150712+ 8e Linux LVM
Disk /dev/hde: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0647fa69
Device Boot Start End Blocks Id System
/dev/hde1 1 36481 293033601 8e Linux LVM
stefan@server:~$ sudo df -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/hda1 14084 5261 8108 40% /
varrun 379 2 377 1% /var/run
varlock 379 1 379 1% /var/lock
udev 379 105 275 28% /dev
devshm 379 0 379 0% /dev/shm
lrm 379 35 345 10% /lib/modules/2.6.22-14-386/volatile
/dev/mapper/storage-Storage
490234 277846 192467 60% /storage
stefan@server:~$ sudo vgdisplay -v
Finding all volume groups
Finding volume group "storage"
Fixing up missing format1 size (132,92 GB) for PV /dev/mapper/hda3
Fixing up missing format1 size (74,53 GB) for PV /dev/mapper/hdb1
Fixing up missing format1 size (279,46 GB) for PV /dev/mapper/hde1
Fixing up missing format1 size (132,92 GB) for PV /dev/mapper/hda3
Fixing up missing format1 size (74,53 GB) for PV /dev/mapper/hdb1
Fixing up missing format1 size (279,46 GB) for PV /dev/mapper/hde1
Fixing up missing format1 size (132,92 GB) for PV /dev/mapper/hda3
Fixing up missing format1 size (74,53 GB) for PV /dev/mapper/hdb1
Fixing up missing format1 size (279,46 GB) for PV /dev/mapper/hde1
--- Volume group ---
VG Name storage
System ID
Format lvm2
Metadata Areas 3
Metadata Sequence No 8
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 1
Max PV 0
Cur PV 3
Act PV 3
VG Size 486,90 GB
PE Size 4,00 MB
Total PE 124646
Alloc PE / Size 124512 / 486,38 GB
Free PE / Size 134 / 536,00 MB
VG UUID UoTK0M-NuHG-1U9O-toas-67HG-6YlO-09PJ31
--- Logical volume ---
LV Name /dev/storage/Storage
VG Name storage
LV UUID m6eCpe-8j3i-eJxW-o4CV-DoXX-433O-7JT6jJ
LV Write Access read/write
LV Status available
# open 1
LV Size 486,38 GB
Current LE 124512
Segments 3
Allocation inherit
Read ahead sectors 0
Block device 254:3
--- Physical volumes ---
PV Name /dev/mapper/hda3
PV UUID kUDOs0-pYVQ-18uq-VnNl-MvxR-qrMM-q1KVV1
PV Status allocatable
Total PE / Free PE 34026 / 0
PV Name /dev/mapper/hdb1
PV UUID RJuEFk-31v7-oZex-c0MQ-rLaW-SKbE-WjdTLR
PV Status allocatable
Total PE / Free PE 19079 / 0
PV Name /dev/mapper/hde1
PV UUID GU18cj-NYVj-Me2N-UBPa-7LP0-nHtB-zvJlMe
PV Status allocatable
Total PE / Free PE 71541 / 134
stefan@server:~$
Hur gör jag tex för att få LVM att funka efter ominstallationen, jag vill ju inte gärna bli av med allt som jag har sparat på mina stora diskar. Jag vill ju bara "blåsa" hda1 på 13 gb.
Tack
/Stefan