Suse 8.2 Samba problem

I know it sounds stupid to use a older version, but it’s my backup “server”. (i have also an OpenSuse 10.3 in use)
i have the following problem…
10 minutes ago the 8.2 Suse rebooted while i was searching from a win_XP ,achine in my backups.
after the reboot the files backup folder are gone with the wind.

the strange thing is /home/backup/backup is still there, but the files in the last folder are all gone…
150Gb of files are gone.

is it possible to recover these files???
or are all my backups lost?

(i know its better to burn all the files on DVD or CDRom, but i do this ones a year.)

can anyone help me out please?

the stange thing is, when i look in the last folder’s preferences, it sayes: Free space: 8.1 GB/18.3 GB (56% Used)
why can i not see the files?

PS with 150 Gb i meant 15.0 GB

<> why can i not see the files?

what are you looking with?

are you logged into the SUSE box with a monitor and keyboard?
or, remote from your game box?

using ssh and ls, or what?

and, you said the “8.2 Suse rebooted while i was searching” does that
mean it spontaneously, uncommanded, just rebooted…has it done that
before? or does it ofen/ever reboot when you access it?

is the machine as old as the software? if so, you probably have a
hardware gotch’a in progress…flaky power or, heat or something…

if it were me, and if it is running i’d burn all that i could see to
CD/DVD before i did anything else…

and, i guess the data you can’t see is still there but the disk’s
file allocation table has been corrupted…

i’d NOT fiddle around with it a lot until after saving off to
somewhere safe all that i could…

i wonder, how full is/was that disk?


platinum

STOP

afterthought: if it is a corrupted allocation table, as mentioned in
my just posted, then you need to MINIMIZE writes to that disk…

i mean, if the table is corrupted (and therefore reporting a certain
section of the disk as empty, when it is not) then SUSE will write
to it even if it is actually that can’t be seen backup…

and, the fuller the disk, the more likely it will overwrite…


platinum

On Mon September 7 2009 04:36 pm, richard klinky wrote:

>
> the stange thing is, when i look in the last folder’s preferences, it
> sayes: Free space: 8.1 GB/18.3 GB (56% Used)
> why can i not see the files?
>
>
ricard;

What file system is on the disk? reiserfs? You should run a file check
utility for what ever filesystem is on the broken disk. For reiserfs it is
reiserfsck, other file systems have there own check/repair command. Details
can be found in the manual entry for the check program that applies to your
file system. You can not repair a mounted file system, so if this is the
root partition you need to boot to a rescue drive before repairing.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

Ok when i look in the file /home/backup/backup i do that with the linux machine where the files are savesd to.
using keyboard, and monitor of the same machine.

this is the first time that the Suse 8.2 machine rebooted all by itself. without a give command for rebooting.

i was om my Win XP machine searching in the files for a older file.
the search on the windows machine showed me that the network station was lost.
i heared a biep, and i turnen on the monitor of my 2 linux machines.
the 10.3 was on, the 8.2 was rebooting.
after te reboot i logged in and than i took a look in the files by using Quickbrowser.
i did this om the 8.2 machine.
and also in the konsole i do not see any files in /home/backup/backup/ .

the suse 8.2 machine is a PII 400Mhz. ( i know; a oldie :shame: )

i did not do anything with the file, i only took a look in yast -> hardware, and both HDD’s are available
i remember the my settings om the 10.3, the Home dir is on the second HDD. but for the 8.2 i can’t remeber.
how can i check this?

i also do not know anymore what file system suse installed on 8.2 (to long ago and it was the first time ever installing linux :shame:)

but i think it’s the standard file system.

I’ve never tried to recover a linux partition with Linux tools, but I agree its important to minimize all access to that partition.

IMHO if the data is important, one should buy a backup empty drive that is equal or larger in size, and then immediately clone the old drive to the newly purchased drive, to have a “snapshot” of the contents.

And then use something like testdisk to recover the contents:
PackMan :: Package details for testdisk

Probably reiserfs. If your machine won’t stay up, perhaps you should move the disks to another machine to mount them R/O and recover the files.

how can i check the file system?

The machine is since yesterday on, it did not rebooted or turned off…

the mounting on a other machine… is that linux or windows machine where i have to move it to?

When i look (with Konqueror) in /home/backup/ i see the folder backup wih the folder icon, BUT on the folder icon is a plug icon (plug like the 110-200 Volt plug)

what does that icon mean?

  • i’m realy sorry when i ask those “stupid” questions.
    but my friend who installed with me suse 8.2 died 2 years ago (to young) and he had the lunix knowledge.

i’m sorry for your friend, and you…

no such thing as dumb questions…
sorry i don’t know what the plug means now, much less way back on 8.2,
i was using Red Hat back then…

really, i’d first do a back up of all data on that hard drive…unless
you don’t care about whatever personal data, photos, letters, emails,
spreadsheets, movies whatever that you have on that server…

‘THEN’ i learn about checking and repairing, if possible the file
system…

if you don’t have anything on that partition/drive that is worth
saving, then say so…


platinum

On Tue September 8 2009 10:26 am, richard klinky wrote:

>
> ken_yap;2037181 Wrote:
>> Probably reiserfs. If your machine won’t stay up, perhaps you should
>> move the disks to another machine to mount them R/O and recover the
>> files.
>
> how can i check the file system?
>
> The machine is since yesterday on, it did not rebooted or turned
> off…
>
>
> the mounting on a other machine… is that linux or windows machine
> where i have to move it to?
>
>
richard;
To determine the file system try (in a console window):


df -T

This should return the file system type for each partition.

The contents of /etc/fstab, should show both the file system and the mount
points of the partitions.


cat /etc/fstab

Next look at:


man fsck

This should show the variants for different file systems. Check the manual
for the correct variant to determine the options.


P. V.
“We’re all in this together, I’m pulling for you.” Red Green

I did the:

df -T

in /home/backup/
The result result:

Filesystem type 1k-blocks used Available used% Mounted_on
/dev/hda2 reiserfs 19148888 10700472 8448416 56% /
shmfs shm 192740 0 192740 0% /dev/shm

and for:

cat /etc/fstab

these are the results

/dev/hda2 / reiserfs defaults 1 1
/dev/hda1 swap swap pri=42 0 0
/dev/hdb1 /home reiserfs defaults 1 2

does this mean that the hdb1 is the second disk?
if so, i can be shure that i clone the right hdd :smiley:


@ Plantinum… i want the files back, thats for shure…
i needed to be shure i have the right hdd to make a clone…

…much less way back on 8.2,
i was using Red Hat back then…

5 CD’s and 2 DVD in that time :smiley:
still have the original package in the original box :smiley:

On Tue September 8 2009 11:46 am, richard klinky wrote:

>
> I did the:
>
> Code:
> --------------------
> df -T
> --------------------
>
> in /home/backup/
> The result result:
>> Filesystem type 1k-blocks used Available used% Mounted_on
>> /dev/hda2 reiserfs 19148888 10700472 8448416 56% /
>> shmfs shm 192740 0 192740 0% /dev/shm
>
> and for:
>> cat /etc/fstab
> these are the results
>>
>> /dev/hda2 / reiserfs defaults 1 1
>> /dev/hda1 swap swap pri=42 0 0
>> /dev/hdb1 /home reiserfs defaults 1 2
>>
>
> does this mean that the hdb1 is the second disk?
> if so, i can be shure that i clone the right hdd :smiley:
> ______________________________________________________
>
> @ Plantinum… i want the files back, thats for shure…
> i needed to be shure i have the right hdd to make a clone…
>> …much less way back on 8.2,
>> i was using Red Hat back then…
> 5 CD’s and 2 DVD in that time :smiley:
> still have the original package in the original box :smiley:
>
>
richard;

hda is the first, primary drive. It contains swap in the first partition hda1
and the root file system in the second partition hda2. hdb is the second
drive with one partition (hdb1) which containing /home. hda2 and hdb1 are
both reiserfs.

Check the manual entry for reiserfsck to see it’s options.


man reiserfsck

or just “google”: manual reiserfsck.

I suggest you first run just the “–check” option to just check the file
system with out repairing. Then, depending on the results, try a repair.
Because you are concerned with /home, and not / , the root file system, the
repair should be relatively easy. For the repair, make sure you log in as
root. Dismount /home and run the reiserfsck. root’s home directory should
be in / so root should still have access to his/her home directory. To be
on the safe side check that root’s home is on / (look for a directory
named “root”) and have a rescue disk handy just in case you need it.

Good luck with recovering the files. It should be doable.


P. V.
“We’re all in this together, I’m pulling for you.” Red Green