NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rsync to ext2 filesystem issues





El 8/9/26 a las 15:40, RVP escribió:
On Mon, 7 Sep 2026, Ramiro Aceves wrote:

I created the filesystem in Linux, I think I was recommended to do it that way.


Use newfs_ext2fs(8) instead.

I have also done fsck always on Linux. Should I fsck in NetBSD?


Well, fsck_ext2fs(8) should be OK if the FS was created using newfs_ext2fs(8).
But, e2fsprogs is available in pkgsrc, so I would just use e2fsck(8) from
that--as I do always.

-RVP


Thanks, RVP.

Last night, I ran fsck.ext2 from e2fsprogs. I think it took longer than
when I ran it under Linux, as it had been running for more than an hour
and still hadn’t finished when I went to bed. So I can’t say for certain
how long it actually took. Apparently, though, it worked fine, the
filesystem was repaired and could delete all under /mnt/datos/COPIA_NETBSD_8I7/*.

This seems to be an endless nightmare: two different operating systems
“touching” the same filesystem with different ext2 implementations and
possible bugs. Probably not a great idea (I’m the culprit here)....

I’ll stop here for now until I find something relevant.

Regards.
Ramiro.




Home | Main Index | Thread Index | Old Index