Hi,
My son-in-law has two offices, one in Worcester and one in Brocton,
and he want to logically tie them together. The office in Brocton
has a dialup connection to AOL, while the office in Worcester has
a DSL connection.
I ended up buying SuSE 8.2 and installing it on another drive. I then
used reiserfsck that came with it to repair the partition. Big
mistake, the data was lost. Now I am off to rebuild my system from
backups. :(
I got the bright idea...finally...to look at the boot partition
(hdb5). I ran badblock and it came back with no bad blocks. Next
reiserfsck --fix-fixable /dev/hda5 was run with the following results:
reiserfs_open: bitmap 0 was marked free
reiserfs_open: first bitmap looks corrupted
Analyzing journal..Segmentation fault
Could this be why my drives are mounting as readonly? How do I correct
this problem?
Thanks,
Mike
> man mount
>
> have you tried remounting it as rw. specify when you call mount to
> remount it as rw. otherwise explore the riserfsck more.
>
> Something to try.. If nothing else, backup the data and reformat
the
> partition.
>
> On Sun, 22 Jun 2003, Michael Long wrote:
>
> >
> > Reiserfsck has been run successfully and the system is still
> > mounting / as readonly. I have found that the /boot directory is
empty
> > and it was empty before running reiserfsck. Where do I go from
here?
> >
> > Any guidence will be greatly appreciated,
> > Mike
> >
> > _______________________________________________
> > Wlug mailing list
> > Wlug(a)mail.wlug.org
> > http://mail.wlug.org/mailman/listinfo/wlug
> >
>
> --
>
> ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø
> Karl Hiramoto <karl(a)hiramoto.org>
> Work: 978-425-2090 ext 25
> Cell: 508-517-4819
> Personal web page: http://karl.hiramoto.org/
> Freedom: http://www.technojihad.com/
> Zoop Productions: http://www.zoop.org/
> KTEQ Rapid City: http://www.kteq.org/
> AOL IM ID = KarlH420 Yahoo_IM = karl_hiramoto
> ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø
>
> "Linux poses a real challenge for those with a taste for late-night
> hacking (and/or conversations with God)."
> (By Matt Welsh)
>
>
> _______________________________________________
> Wlug mailing list
> Wlug(a)mail.wlug.org
> http://mail.wlug.org/mailman/listinfo/wlug
>
>
>
Up to this point I have only installed SuSE and upgraded my system with
SuSE upgrade tools. I am now in the process of learning how file
systems work so I might as well learn how to build and install a new
kernel. Can you point me to a good HOW-TO or some other documentation
explaining how to upgrade a kernel or is google my best bet?
Thanks,
mike
> reiserfsck now has no errors?
>
> reiserfsck -V what version are you using?
>
> I would also recommend using kernel 2.4.19 as recommended on:
> http://www.namesys.com/download.html
>
> also use the latest reiserfs tools. download and install
> reiserfsprogs-3.6.8.tar.gz the latest version might be able to fix
> your problem.
>
>
> On Mon, 23 Jun 2003, Michael Long wrote:
>
> > It just completed and no bac blocks were found. Any other
suggestions?
> >
> > > man badblocks
> > >
> > > i usually do badblocks -vs -c 256 /dev/hda1 or what ever device.
> > >
> > > On Mon, 23 Jun 2003, Michael Long wrote:
> > >
> > > > I ran reiserfsck --rebuild-tree --rebuild-sb --fix-fixable
> > > > and it found some bad leaf node indexes and some orphaned
files.
> > The
> > > > file system seems to be intact. What utility will check for bad
> > blocks?
> > > >
> > > > > When messing around with the filesystem allways a good idea
to
> > make
> > > > > backups, just incase.
> > > > >
> > > > > I would continue to expore the reiserfsck option. possibly
one
> > or
> > > > > more of the options: --rebuild-tree --rebuild-sb --fix-fixable
> > > > >
> > > > > What does reiserfsck --check do?
> > > > >
> > > > > have you run a badblocks check on the device?
> > > > >
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Wlug mailing list
> > > > Wlug(a)mail.wlug.org
> > > > http://mail.wlug.org/mailman/listinfo/wlug
> > > >
> > >
> > > --
> > >
> > > ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø
> > > Karl Hiramoto <karl(a)hiramoto.org>
> > > Work: 978-425-2090 ext 25
> > > Cell: 508-517-4819
> > > Personal web page: http://karl.hiramoto.org/
> > > Freedom: http://www.technojihad.com/
> > > Zoop Productions: http://www.zoop.org/
> > > KTEQ Rapid City: http://www.kteq.org/
> > > AOL IM ID = KarlH420 Yahoo_IM = karl_hiramoto
> > > ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø
> > >
> > > ... I'm IMAGINING a sensuous GIRAFFE, CAVORTING in the BACK ROOM
> > > of a KOSHER DELI --
> > >
> > >
> > > _______________________________________________
> > > Wlug mailing list
> > > Wlug(a)mail.wlug.org
> > > http://mail.wlug.org/mailman/listinfo/wlug
> > >
> > >
> > >
> >
> >
> >
> > _______________________________________________
> > Wlug mailing list
> > Wlug(a)mail.wlug.org
> > http://mail.wlug.org/mailman/listinfo/wlug
> >
>
> --
>
> ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø
> Karl Hiramoto <karl(a)hiramoto.org>
> Work: 978-425-2090 ext 25
> Cell: 508-517-4819
> Personal web page: http://karl.hiramoto.org/
> Freedom: http://www.technojihad.com/
> Zoop Productions: http://www.zoop.org/
> KTEQ Rapid City: http://www.kteq.org/
> AOL IM ID = KarlH420 Yahoo_IM = karl_hiramoto
> ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø
>
> I want to dress you up as TALLULAH BANKHEAD and cover you with
VASELINE
> and WHEAT THINS ...
>
>
> _______________________________________________
> Wlug mailing list
> Wlug(a)mail.wlug.org
> http://mail.wlug.org/mailman/listinfo/wlug
>
>
>
It just completed and no bac blocks were found. Any other suggestions?
> man badblocks
>
> i usually do badblocks -vs -c 256 /dev/hda1 or what ever device.
>
> On Mon, 23 Jun 2003, Michael Long wrote:
>
> > I ran reiserfsck --rebuild-tree --rebuild-sb --fix-fixable
> > and it found some bad leaf node indexes and some orphaned files.
The
> > file system seems to be intact. What utility will check for bad
blocks?
> >
> > > When messing around with the filesystem allways a good idea to
make
> > > backups, just incase.
> > >
> > > I would continue to expore the reiserfsck option. possibly one
or
> > > more of the options: --rebuild-tree --rebuild-sb --fix-fixable
> > >
> > > What does reiserfsck --check do?
> > >
> > > have you run a badblocks check on the device?
> > >
> > >
> >
> >
> > _______________________________________________
> > Wlug mailing list
> > Wlug(a)mail.wlug.org
> > http://mail.wlug.org/mailman/listinfo/wlug
> >
>
> --
>
> ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø
> Karl Hiramoto <karl(a)hiramoto.org>
> Work: 978-425-2090 ext 25
> Cell: 508-517-4819
> Personal web page: http://karl.hiramoto.org/
> Freedom: http://www.technojihad.com/
> Zoop Productions: http://www.zoop.org/
> KTEQ Rapid City: http://www.kteq.org/
> AOL IM ID = KarlH420 Yahoo_IM = karl_hiramoto
> ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø
>
> ... I'm IMAGINING a sensuous GIRAFFE, CAVORTING in the BACK ROOM
> of a KOSHER DELI --
>
>
> _______________________________________________
> Wlug mailing list
> Wlug(a)mail.wlug.org
> http://mail.wlug.org/mailman/listinfo/wlug
>
>
>
I ran reiserfsck --rebuild-tree --rebuild-sb --fix-fixable
and it found some bad leaf node indexes and some orphaned files. The
file system seems to be intact. What utility will check for bad blocks?
> When messing around with the filesystem allways a good idea to make
> backups, just incase.
>
> I would continue to expore the reiserfsck option. possibly one or
> more of the options: --rebuild-tree --rebuild-sb --fix-fixable
>
> What does reiserfsck --check do?
>
> have you run a badblocks check on the device?
>
>
I have 2 disks in my system. Disk 1(hda) has windows and SuSE7.3
installed on it. Disk 2(hdb) has SuSE 8.0. When booting SuSE8.0 it
mounts the partition hdb7 ("/") as readonly. This was not the case
until the system was rebooted last week. Prior to the reboot I could
read and write to the partition. I was out of town when I started
having connectivity issues and had the wife reboot the machine. I had
ownly been accessing the machine for email and file storage and don't
know what has changed. When booting into SuSE 7.3 I can mount hdb7 as
rw.
I believe the problem has something to do with the boot process but am
not sure.
Mike
> man mount
>
> have you tried remounting it as rw. specify when you call mount to
> remount it as rw. otherwise explore the riserfsck more.
>
> Something to try.. If nothing else, backup the data and reformat
the
> partition.
>
> On Sun, 22 Jun 2003, Michael Long wrote:
>
> >
> > Reiserfsck has been run successfully and the system is still
> > mounting / as readonly. I have found that the /boot directory is
empty
> > and it was empty before running reiserfsck. Where do I go from
here?
> >
> > Any guidence will be greatly appreciated,
> > Mike
> >
> > _______________________________________________
> > Wlug mailing list
> > Wlug(a)mail.wlug.org
> > http://mail.wlug.org/mailman/listinfo/wlug
> >
>
> --
>
> ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø
> Karl Hiramoto <karl(a)hiramoto.org>
> Work: 978-425-2090 ext 25
> Cell: 508-517-4819
> Personal web page: http://karl.hiramoto.org/
> Freedom: http://www.technojihad.com/
> Zoop Productions: http://www.zoop.org/
> KTEQ Rapid City: http://www.kteq.org/
> AOL IM ID = KarlH420 Yahoo_IM = karl_hiramoto
> ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø
>
> "Linux poses a real challenge for those with a taste for late-night
> hacking (and/or conversations with God)."
> (By Matt Welsh)
>
>
> _______________________________________________
> Wlug mailing list
> Wlug(a)mail.wlug.org
> http://mail.wlug.org/mailman/listinfo/wlug
>
>
>
Reiserfsck has been run successfully and the system is still
mounting / as readonly. I have found that the /boot directory is empty
and it was empty before running reiserfsck. Where do I go from here?
Any guidence will be greatly appreciated,
Mike
I have now been able to boot the system using another drive. The
original boot drive (hda7) can be mounted successfully with the
following fstab configuration:
/dev/hda7 /data2 reiserfs noauto,user 0 0
When reiserfsck /data2 is run I get the following messages:
reiserfs_open: bread failed reading block 16
reiserfs_open: bread failed reading block 2
reiserfs_open: neither new nor old reiserfs format found on /data2
reiserfsck: --rebuild-sb may restore reiserfs super block
What are the ramifications of running this? Is this something that can
cause the data on the disk to be lost?
Thanks for any help,
Mike
While away on business I lost the ability to ssh into my computer. I
had my wife ping it from within the home network and she was unable
to. After walking her through some ifconfig diagnostics (she is a
technically challanged individual) I next had her reboot the box in
the hope that it would "fix" the problem. It did not solve the
problem. Now that I am home I see that it is mounting the drives as
readonly. The following is a partial listing of the dmesg:
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
VFS: Mounted root (reiserfs filesystem) readonly
Trying to move old root to /initrd ... failed
Unmounting old root
clm-6006: writing inode 927 on readonly FS
clm-6006: writing inode 927 on readonly FS
clm-6005: writing inode 927 on readonly FS
clm-6006: writing inode 927 on readonly FS
clm-6006: writing inode 927 on readonly FS
clm-6005: writing inode 927 on readonly FS
How do I go about diagnosing and fixing this problem?
Thanks,
Mike