HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Technical (http://www.howtoforge.com/forums/forumdisplay.php?f=8)
-   -   help needed; xen file damaged (http://www.howtoforge.com/forums/showthread.php?t=54092)

lrdro 9th September 2011 00:43

help needed; xen file damaged
 
hello,

i use solusvm and xen and i have this vps, uses 110~.
limit is 150 .
some tech modified it at 100gb
now it was not working, no booting but if i mounted it i was able to acces it, edit files etc

i asked for help at solusvm.com and pcsmartmanagement.com
they tryed to help but i dont know how they do it cuz now i cant even mount the vps.
they say that is damaged.

i mount it, it says 108gb used, so files should be there, i dont KNOW WHAT THEY have done.

now they wont speak with me, they are deleting my tickets.


how can i fix it? i can pay if neede, im in nasty situation.
atleast as was before they damaged it.
to acces /home and /var/lib/mysql.

i get this error at startup

Quote:

unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
thank you

Mark_NL 9th September 2011 14:07

Can you mount the image somewhere and read the data?

If so, do that and backup the data asap.

lrdro 9th September 2011 14:08

no,
after they screwed up, after i mount and i try to get in, i get this


ls: reading directory .: Input/output error

Mark_NL 9th September 2011 14:34

Well since it looks like it's already f*cked up, you could try to run an fsck on the partition?

unmount the disc and run:
fsck -a <device>

lrdro 9th September 2011 14:38

what this process do?
i think the people whu scre*ed this already run that process.

the thing is that i have like this


/dev/mapper/neh24gb-vm132_img
148G 108G 33G 77% /home/31rofdns

108gb occupied.
data should be there.

now some friend is copiing entire server to try help me.

Mark_NL 9th September 2011 14:48

Is this an lvm partition?

unmount it and run: fsck -a /dev/mapper/neh24gb-vm132_img

it checks the partition and file/dir structure.

lrdro 9th September 2011 17:42

fsck 1.39 (29-May-2006)
/dev/mapper/neh24gb-vm132_img contains a file system with errors, check forced.
/dev/mapper/neh24gb-vm132_img: Deleted inode 196738 has zero dtime. FIXED.
/dev/mapper/neh24gb-vm132_img: Inode 13210513, i_blocks is 56, should be 144. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 13371024, i_blocks is 72, should be 160. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 13409854, i_blocks is 88, should be 176. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 13524763, i_blocks is 72, should be 160. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 13536617, i_blocks is 56, should be 144. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 13676772, i_blocks is 48, should be 136. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 13723472, i_blocks is 160, should be 248. FIXED.
/dev/mapper/neh24gb-vm132_img: Inode 13773922, i_blocks is 64, should be 152. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 13792167, i_blocks is 32, should be 120. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 13807713, i_blocks is 64, should be 152. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 13830954, i_blocks is 48, should be 136. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 15353809, i_blocks is 88, should be 176. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 15553825, i_blocks is 64, should be 152. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 16127809, i_blocks is 64, should be 152. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 16148279, i_blocks is 64, should be 152. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 16320406, i_blocks is 72, should be 160. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 16468563, i_blocks is 64, should be 152. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 16791564, i_blocks is 184, should be 272. FIXED.
/dev/mapper/neh24gb-vm132_img: Inode 16926428, i_blocks is 64, should be 152. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 16931439, i_blocks is 48, should be 136. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 17019646, i_blocks is 96, should be 184. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 17060887, i_blocks is 144, should be 232. FIXED.
/dev/mapper/neh24gb-vm132_img: Inode 17085832, i_blocks is 56, should be 144. F IXED.
/dev/mapper/neh24gb-vm132_img: Inode 17199706 has illegal block(s).

/dev/mapper/neh24gb-vm132_img: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)

Mark_NL 9th September 2011 18:39

keep running
"fsck -y /dev/mapper/neh24gb-vm132_img"
till you get no more errors (-y this time, it'll auto "yes" for you)
else run w/o -y and submit "yes" for each fix

lrdro 9th September 2011 21:35

thank you.
the process finished, i mounted image and it created an folder lost+found with many many files like this



Quote:

4313018 #15060739 #15807763 #16961932 #18106113 #18747373 #98405
#14313043 #15060748 #15807779 #16961933 #18106114 #18747376 #98406
#14313077 #15060775 #15807794 #16961934 #18106115 #18747379 #98407
#14313112 #15060781 #15807808 #16961935 #18106118 #18747382 #98408
#14313117 #15060793 #15807826 #16961936 #18106119 #18747385 #98409
#14313151 #15060802 #15807850 #16961937 #18106120 #18747412 #98410
#14313157 #15060822 #15807871 #16961938 #18106121 #18747415 #98411
#14313174 #15060836 #15807872 #16961939 #18106122 #18747418
#14313180 #15060858 #15807879 #16961940 #18106126 #18747421
#14313188 #15060875 #15807921 #16961941 #18106127 #18747424
#14313191 #15060876 #15807925 #16961942 #18106129 #18747427
#14313195 #15060878 #15807931 #16961943 #18106130 #18747430
#14313199 #15060912 #15807938 #16961944 #18106131 #18747432

whats next?

Mark_NL 10th September 2011 00:03

Those are corrupted files found by fsck, most of the time you can delete them, but once in a while there's a chance one of those files is the one you lost.

Anyway, those files aren't important at the moment, what's more important is if you are able to mount the disc and read the content of it so you can backup your files?


All times are GMT +2. The time now is 15:49.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.