[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Editing partition on LVM disks
From: |
^YosH^ |
Subject: |
Editing partition on LVM disks |
Date: |
Tue, 29 Jul 2003 23:14:34 +0200 |
I have a LVM that spans over 5 disks... now the last disk in the array
has crashed... everytime I try to access the disk the whole LVM hangs
and I get the following in the kernel log:
Jul 28 22:47:55 c-47bf72d5 kernel: hdg: dma_intr: status=0x51 {
DriveReady SeekComplete Error }
Jul 28 22:47:55 c-47bf72d5 kernel: hdg: dma_intr: error=0x40 {
UncorrectableError }, LBAsect=148767608, high=8, low=14549880,
sector=148767488
Jul 28 22:47:55 c-47bf72d5 kernel: end_request: I/O error, dev 22:00
(hdg), sector 148767488
The problem is that I have to cut the fs before that disk so I
downloaded parted in hope it would be able to help me....
LVM name is /dev/lvm/lvm_01 and the fs is ext3
The size of the lvm is 950GB (quite a lot to backup)
I do the following:
# parted
(parted) select /dev/lvm/lvm_01
(parted) print
Disk geometry for /dev/lvm/lvm_01: 0.000-980736.000 megabytes
Disk label type: loop
Minor Start End Filesystem Flags
1 0.000 980736.000 ext3
(parted) resize 1 0.000 730000.000
Warning: Filesystem has errors! You should run e2fsck.
Ignore/Cancel? I
No Implementation: This ext2 filesystem has a rather strange layout!
Parted
can't resize this (yet).
So my conclusion is, parted cant resize the partition yet... but I
really need to resize it... anyone know a tool that can do this, that is
"cut" the filesystem below the failed hdd without loosing all the data
on the drives, or are support for this type of filesystems coming soon?
Thanks in advance....
- Editing partition on LVM disks,
^YosH^ <=