[YLUG] lvm mistake

Patrick Dupre pd520 at york.ac.uk
Sat Dec 18 17:30:24 UTC 2010


Hello,

I made a big mistake, think that lvm partitionning was working has
gparted !

In a couple of words
I made a lvreduce -l+250 /dev/Vol0/part1
then
lvextend -l+250 /dev/Vol0/part2

part1 had more than 250 extends free but fsck abort on /dev/Vol0/part1
(but is OK on part2).
Can I go back, ie. move back the 250 extends ?

fsck tells:
The filesystem size (according to the superblock) is 6144000 blocks
The physical size of the device is 5632000 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>? yes

This was the previous partitioning

/dev/mapper/Vol0/part1
                       12094318   5015648   6464270  44% /usr

/dev/mapper/Vol0/part2
                       10078348   8578932    987416  90% /usr/local

I am trying with testdisk

Thank.


-- 
---
==========================================================================
  Patrick DUPRÉ                      |   |
  Department of Chemistry            |   |  Phone: (44)-(0)-1904-434384
  The University of York             |   |  Fax:   (44)-(0)-1904-432516
  Heslington                         |   |
  York YO10 5DD  United Kingdom      |   |  email: patrick.dupre at york.ac.uk
==========================================================================


More information about the York mailing list