Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I must be missing something... anyone have any idea how this system is even functioning? Please tell me im dreaming...

Ive lost access to many files i had stored in /var/ just dissapered...

Ubuntu on openvz

root@telesto:/# mount -l
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
varrun on /var/run type tmpfs (rw)
varlock on /var/lock type tmpfs (rw)
root@telesto:/# df
Filesystem           1K-blocks      Used Available Use% Mounted on
varrun                 4093136        44   4093092   1% /var/run
varlock                4093136         0   4093136   0% /var/lock
root@telesto:/# ls /dev | grep sd
root@telesto:/# ls /dev | grep hd
root@telesto:/# dmesg
root@telesto:/# dmesg
share|improve this question

1 Answer 1

up vote 1 down vote accepted

It's functioning because a lot of the necessary stuff is loaded into memory. But it likely won't be for long.

If you can find out where the various partitions are, such as from cat /etc/fstab you might be able to run fsck on them and maybe remount them. But if you don't you're going to need to boot this off of some other media (like a DVD of your OS) and do a recovery. Really, if dmesg isn't returning anything, you are probably already at that state.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.