Date: Sun, 30 Oct 2005 14:55:32 +0200 From: Gal Ben-Haim <gbenhaim@gmail.com> To: freebsd-fs@freebsd.org Subject: Re: disklabel recovery Message-ID: <fac025520510300455n4a670825g9bdbafb19c17cc93@mail.gmail.com> In-Reply-To: <20051030091959.A93720@mp2.macomnet.net> References: <fac025520510291159j1fe81bdbgdb841b1d4cd2280b@mail.gmail.com> <20051030091959.A93720@mp2.macomnet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
meanwhile I did a 'dd' image of the drive to a network drive and formatted the hd, I needed the system up again. what can I do with that 'dd' image in order to restore atleast some of the data on that drive ? On 10/30/05, Maxim Konovalov <maxim@macomnet.ru> wrote: > > On Sat, 29 Oct 2005, 20:59+0200, Gal Ben-Haim wrote: > > > Hello, > > Im running FreeBSD 5.4 > > I accedently enabled swap on /dev/ad2s1c (raw label), this destroyed my > > disklabel, the data is still on the disk (after doing 'cat' on the /dev > > device). > > When I try to mount the filesystem I get: the mount is successful, but > when > > I 'ls' the mount point I get bad file descriptor. > > I tried to create a new label with 'sysinstall', but the label which is > > created seems to be with invalid values. > > I tried running scan_ffs, after it read all the blocks on the disk it > > outputs 'input/output error. > > > > is there any way to reconstruct the label properly or access atleast > some of > > the files ? > > src/tools/tools/find-sb/ > ports/sysutils/scan_ffs/ > ports/sysutils/ffsrecov/ > > -- > Maxim Konovalov > -- Gal Ben-Haim, gbenhaim@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fac025520510300455n4a670825g9bdbafb19c17cc93>