Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th September 2011, 01:43
lrdro lrdro is offline
Junior Member
 
Join Date: Sep 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 9th September 2011, 15:07
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

Can you mount the image somewhere and read the data?

If so, do that and backup the data asap.
Reply With Quote
  #3  
Old 9th September 2011, 15:08
lrdro lrdro is offline
Junior Member
 
Join Date: Sep 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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


ls: reading directory .: Input/output error
Reply With Quote
  #4  
Old 9th September 2011, 15:34
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

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>
Reply With Quote
  #5  
Old 9th September 2011, 15:38
lrdro lrdro is offline
Junior Member
 
Join Date: Sep 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #6  
Old 9th September 2011, 15:48
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

Is this an lvm partition?

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

it checks the partition and file/dir structure.
Reply With Quote
  #7  
Old 9th September 2011, 18:42
lrdro lrdro is offline
Junior Member
 
Join Date: Sep 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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)
Reply With Quote
  #8  
Old 9th September 2011, 19:39
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

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
Reply With Quote
  #9  
Old 9th September 2011, 22:35
lrdro lrdro is offline
Junior Member
 
Join Date: Sep 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?
Reply With Quote
  #10  
Old 10th September 2011, 01:03
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
 
Default

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?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix delivery problem erebus Installation/Configuration 8 29th July 2014 21:17
rkhunter report Captain Installation/Configuration 6 10th October 2010 14:05
Chroot SSH + ISPConfig Norman Installation/Configuration 27 26th March 2007 04:40
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 06:19
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 14:29


All times are GMT +2. The time now is 18:22.


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