PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

Recovering lost XFS Parbreastions


Your Ad Here

Your Ad Here

Swap usage always goes up never down 4488
Peter T. Breuer ps -aux --sort vsz: USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root...

Hi,

I've a machine with 10 parbreastions (most of them XFS), and I've lost all of the extended parbreastions while I was trying to create a new one, before swithching off the machine I've check for all the information about the parbreastions with different tools gpart, cfdisk, fdisk, and checking theproc andsys Now with that data I'm trying to recreate the parbreastion table as it was to recover all the important data I've inside, but when I try to use the same starting points and sizes with fdisk, it's easy to create the logic parbreastion of the same size and the fist extended parbreastion (keeping the other primary parbreastions untouched) but when I try to set up the starting point of the 2nd extended parbreastion the 1st one had used one more block so the 2nd one will start one block later and I guess I'll not manage to recover all the data. I've thoungt that maybe the problem could be that now I'm using fdisk and when I create them for first time I used cfdisk, but I cannot use cfdisk because I don't know how to set up the sizes in blocks instead of MBs so I cannot create the parbreastion exactly as it was.

Any kind of help will be more than wellcome because I realy need to recover that data, at least thehome parbreastion and other one with user data.

Swap usage always goes up never down 4490
On Fri, 19 Aug 2005 15:25:31 +0100, Chris Anything's possible but you aren't describing obvious symptoms of it...

Thanks in advace. Guybrush.

P.S.: Here are the data I got before switching off the machine with all the info about the previous parbreastions. And the kernel version is 2.6.10

gpart -vEdev-hda

dev(-dev-hda) mss(512) chs(232581-16-63) #s(234441648) size(114473mb) Primary parbreastion(1) type: 131(0x83)(Linux ext2 filesystem) (BOOT) size: 1906mb #s(3903732) s(63-3903794) chs: (0-1-1)-(242-254-63)d (0-1-1)-(3872-12-63)r hex: 80 01 01 00 83 FE 3F F2 3F 00 00 00 F4 90 3B 00

Primary parbreastion(2) type: 131(0x83)(Linux ext2 filesystem) size: 19077mb #s(39070080) s(3903795-42973874) chs: (243-0-1)-(1023-254-63)d (3872-13-1)-(42632-12-63)r hex: 00 00 01 F3 83 FE FF FF 33 91 3B 00 80 29 54 02

Primary parbreastion(3) type: 130(0x82)(Linux swap or Solaris-x86) size: 972mb #s(1992060) s(232444485-234436544) chs: (1023-254-63)-(1023-254-63)d (230599-11-1)-(232575-14-63)r hex: 00 FE FF FF 82 FE FF FF 45 D2 DA 0D 7C 65 1E 00

Primary parbreastion(4) type: 000(0x00)(unused) size: 0mb #s(0) s(0-0) chs: (0-0-0)-(0-0-0)d (0-0-0)-(0-0-0)r hex: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Begin scan... Possible parbreastion(SGI XFS filesystem), size(1896mb), offset(0mb) type: 131(0x83)(Linux ext2 filesystem) size: 1896mb #s(3883200) s(63-3883262) chs: (0-1-1)-(1023-15-63)d (0-1-1)-(3852-7-6)r hex: 00 01 01 00 83 0F FF FF 3F 00 00 00 C0 40 3B 00

Possible parbreastion(SGI XFS filesystem), size(19067mb), offset(1906mb) type: 131(0x83)(Linux ext2 filesystem) size: 19067mb #s(39049600) s(3903795-42953394) chs: (1023-15-63)-(1023-15-63)d (3872-13-1)-(42612-7-58)r hex: 00 0F FF FF 83 0F FF FF 33 91 3B 00 80 D9 53 02

Possible parbreastion(SGI XFS filesystem), size(19067mb), offset(20983mb) type: 131(0x83)(Linux ext2 filesystem) size: 19067mb #s(39049472) s(42973938-82023409) chs: (1023-15-63)-(1023-15-63)d (42632-14-1)-(81372-6-56)r hex: 00 0F FF FF 83 0F FF FF F2 BA 8F 02 00 D9 53 02

Possible parbreastion(SGI XFS filesystem), size(1896mb), offset(40060mb) type: 131(0x83)(Linux ext2 filesystem) size: 1896mb #s(3883200) s(82044018-85927217) chs: (1023-15-63)-(1023-15-63)d (81392-14-1)-(85245-4-6)r hex: 00 0F FF FF 83 0F FF FF 72 E4 E3 04 C0 40 3B 00

Possible parbreastion(SGI XFS filesystem), size(28593mb), offset(41966mb) type: 131(0x83)(Linux ext2 filesystem) size: 28593mb #s(58560328) s(85947813-144508140) chs: (1023-15-63)-(1023-15-63)d (85265-11-1)-(143361-4-1)r hex: 00 0F FF FF 83 0F FF FF A5 75 1F 05 48 8F 7D 03

Possible parbreastion(Linux ext2), size(94mb), offset(70574mb) type: 131(0x83)(Linux ext2 filesystem) size: 94mb #s(192716) s(144536868-144729583) chs: (1023-15-63)-(1023-15-63)d (143389-12-1)-(143580-14-62)r hex: 00 0F FF FF 83 0F FF FF 24 75 9D 08 CC F0 02 00

Possible parbreastion(Linux ext2), size(1906mb), offset(70668mb) type: 131(0x83)(Linux ext2 filesystem) size: 1906mb #s(3903732) s(144729648-148633379) chs: (1023-15-63)-(1023-15-63)d (143581-0-1)-(147453-11-63)r hex: 00 0F FF FF 83 0F FF FF 30 66 A0 08 F4 90 3B 00

Possible parbreastion(SGI XFS filesystem), size(9528mb), offset(103959mb) type: 131(0x83)(Linux ext2 filesystem) size: 9528mb #s(19514496) s(212909508-232424003) chs: (1023-15-63)-(1023-15-63)d (211219-12-1)-(230579-5-57)r hex: 00 0F FF FF 83 0F FF FF C4 BD B0 0C 80 C4 29 01

Alternate to Peak or ProTools
Easy............... Dump Protools and MacOS or OSx, install Linux and run ardour or Audacity and you will be all set. Here are instructions how. It's pretty intuitive...

Possible parbreastion(Linux swap), size(972mb), offset(113498mb) type: 130(0x82)(Linux swap or Solaris-x86) size: 972mb #s(1991976) s(232444485-234436460) chs: (1023-15-63)-(1023-15-63)d (230599-11-1)-(232575-13-42)r hex: 00 0F FF FF 82 0F FF FF 45 D2 DA 0D 28 65 1E 00

* Warning: short read near sector(234441459), 64512 bytes instead of 66048. Skipping... End scan.

Checking parbreastions...

* Warning: more than 4 primary parbreastions: 9. Parbreastion(Linux ext2 filesystem): primary Parbreastion(Linux ext2 filesystem): primary Parbreastion(Linux ext2 filesystem): primary Parbreastion(Linux ext2 filesystem): primary Parbreastion(Linux ext2 filesystem): invalid primary Parbreastion(Linux ext2 filesystem): invalid primary Parbreastion(Linux ext2 filesystem): invalid primary Parbreastion(Linux ext2 filesystem): invalid primary Parbreastion(Linux swap or Solaris-x86): invalid primary Ok.

Guessed primary parbreastion table: Primary parbreastion(1) type: 131(0x83)(Linux ext2 filesystem) size: 1896mb #s(3883200) s(63-3883262) chs: (0-1-1)-(1023-15-63)d (0-1-1)-(3852-7-6)r hex: 00 01 01 00 83 0F FF FF 3F 00 00 00 C0 40 3B 00

Primary parbreastion(2) type: 131(0x83)(Linux ext2 filesystem) size: 19067mb #s(39049600) s(3903795-42953394) chs: (1023-15-63)-(1023-15-63)d (3872-13-1)-(42612-7-58)r hex: 00 0F FF FF 83 0F FF FF 33 91 3B 00 80 D9 53 02

Primary parbreastion(3) type: 131(0x83)(Linux ext2 filesystem) size: 19067mb #s(39049472) s(42973938-82023409) chs: (1023-15-63)-(1023-15-63)d (42632-14-1)-(81372-6-56)r hex: 00 0F FF FF 83 0F FF FF F2 BA 8F 02 00 D9 53 02

Primary parbreastion(4) type: 131(0x83)(Linux ext2 filesystem) size: 1896mb #s(3883200) s(82044018-85927217) chs: (1023-15-63)-(1023-15-63)d (81392-14-1)-(85245-4-6)r hex: 00 0F FF FF 83 0F FF FF 72 E4 E3 04 C0 40 3B 00

#############################################

catproc-parbreastions grep hda 3 0 117220824 hda 3 1 1951866 hda1 3 2 19535040 hda2 3 3 996030 hda3 3 4 1 hda4 3 5 19535008 hda5 3 6 1951866 hda6 3 7 29294496 hda7 3 8 9767488 hda8 3 9 96358 hda9 3 10 1951866 hda10

########################

Why am I not using 100% of cpu 4491
If they were I-O bound I'd expect to see some time spent in I-O wait. See: for a few seconds of trace output. BTW...

63 3903795 232444485 42973875 42973938 82044018 85947813 212909508 144536868 144729648 cat:sys-block-hda-hda11-start: No such file or directory dev size start stat dev size start stat 3903732 192717 19534977 58588992 3903732 39070017 2 1992060 39070080 3903732 3:1 3903732 63 61486 2007242 214228 2263088 ?S.ficheros Bloques de 1K Usado Dispon Uso% Montado endev-hda1 1941600 427160 1514440 23% tmpfs 258216 0 258216 0%dev-shmdev-hda9 90297 10418 75062 13%bootdev-hda6 1941600 1554680 3868 plus 120 81%rootdev-hda7 29280164 28898432 381732 99%homedev-hda8 9757248 9501016 256232 98%vardev-hda10 1829159 7067 1724499 1%tmpdev-hda5 19524736 19240852 283884 99%usrdev-hdb5 5963068 plus 16 51360552 8270144 87%mnt-hdb5dev-hdb3 19868 plus 1852 17944480 1925372 91%mnt-hdb3dev-hdb6 19868 plus 1820 19513820 356000 99%mnt-hdb6dev-hdf3 482249 376050 81299 83%mnt-hdf3dev-hdf5 7779680 6785384 599100 92%mnt-hdf5dev-hdf6 10831708 7371180 2910304 72%mnt-hdf6dev-hdf7 124427 4132 113871 4%mnt-hdf7dev-hdc 552496 552496 0 100%media-cdrom0dev-hda2 19524800 9499516 10025284 49%pubrol-rol S.ficheros Tama?o Usado Disp Uso% Montado endev-hda1 1,9G 418M 1,5G 23% tmpfs 253M 0 253M 0%dev-shmdev-hda9 89M 11M 74M 13%bootdev-hda6 1,9G 1,5G 378M 81%rootdev-hda7 28G 28G 373M 99%homedev-hda8 9,4G 9,1G 251M 98%vardev-hda10 1,8G 7,0M 1,7G 1%tmpdev-hda5 19G 19G 278M 99%usrdev-hdb5 57G 49G 7,9G 87%mnt-hdb5dev-hdb3 19G 18G 1,9G 91%mnt-hdb3dev-hdb6 19G 19G 348M 99%mnt-hdb6dev-hdf3 471M 368M 80M 83%mnt-hdf3dev-hdf5 7,5G 6,5G 586M 92%mnt-hdf5dev-hdf6 11G 7,1G 2,8G 72%mnt-hdf6dev-hdf7 122M 4,1M 112M 4%mnt-hdf7dev-hdc 540M 540M 0 100%media-cdrom0dev-hda2 19G 9,1G 9,6G 49%pubrol-rol



Your Ad Here

List | Previous | Next

Alternate to Peak or ProTools

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

modem 82801DB AC and kernel 2.6.11 up4GB