* Reply to message originally in area CarbonArea
Hello Alexey!
Sat Oct 15 2016, Alexey Vissarionov wrote to Gert Andersen:
GA>> I have got a problem with my node 2 there have a big 1TB harddisk
GA>> where I have all the ftp files on. The harddisk is normally mount
GA>> as /dev/sdb1 with ext4,
AV>Generally, sensitive information should be kept on /dev/md1 mounted at
AV>/home (with /dev/md0 mounted at /).
The harddisk is just my slave harddisk for ftp files as I the main hd mounted
as /dev/sda2 /boot and /dev/sda4 /.
/dev/sda1 is made for dos use and /dev/sda3 as swap.
GA>> but now will linux not mount it and says there is error on the
GA>> harddisk. It comes with that the superblok is missing o it
AV>0. You've already lost all your data. Now, let's see what you can do...
Ok, so it it then more only try to make a new full 1tb with fdisk and partion
for ext4 as all files is lost on it.
AV>I'd like to have a look at the output of
AV>smartctl -A /dev/sdb \
AV>| sed -nre 's,^ +,,g;/^(5|187|188|197|198) /{s, .* , ,g;p}'
I will see if I can do with this command as it allready now not is tied to be
mount and the system log file by startup showing errors on the harddisk by read
it only.
GA>> and when I trying to ru schk.ext4 on it will this not do anything
GA>> with and respons with there is some inode error it not can make
GA>> anything with and that the inode is too big to repair and make a
GA>> new superblok and then just dropping out.
AV>You'd better don't do that without looking at the SMART info first...
That will I then do then.
GA>> So is there something I can do to with the harrdisk to make it to
GA>> be mounted fine and get the superblok back so fidonet files from
GA>> nearly 2 years can bee back visible on it.
AV>1. If the HDD is in a pre-fail state, get the replacement and perform a
AV>sector-by-sector copying of data (including all logical errors, `man
AV>dd`).
AV>2. Once there are only logical errors (like on a just-copied new HDD),
AV>try running e2fsck with -b parameter (see `man e2fsck`).
I try do do this then. I normally for ftp harddisks mount then as /dev/sdb1
/home/ftp.
Take care,
Gert
- Get the best with linux -
--- Msged/LNX 6.2.0 (Linux/2.6.39-gentoo-r1 (x86_64))
* Origin: KofoBBS at ftp://ftp.kofobbs.dk (2:230/150)
|