NetBSD-Users archive

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

Re: rsync to ext2 filesystem issues



Ramiro Aceves <ea1abz%gmail.com@localhost> wrote:

> Hello,
>
> I have an external USB hard disk partitioned with ext2 filesystem 
> (/dev/sd0e mounted in /mnt/datos for file sharing between NetBSD and 
> Linux) and I have had recurrent problems when rsync-ing files from the 
> NetBSD  FFS filesystem to the EXT2 filesystem.
>
<snip
>
> After killing rsync commands I cannot umount sd0e partition. It normally 
> ends in having to fsck the partition in the next reboot (about 1 hour of 
> fsck)
>
> Why does it stop and stay for ever? Is it a problem with rsync command? 
> or is it a problem with ext2 filesystem?

I don't have an answer for you other than to say I've also had system hangs
when trying to rsync *from* an ext2 partition mounted on NetBSD.  I generally
make use of the 'log' mount option so no long fscking needed.  I regularly
run rsync from NetBSD (FFS) -> Linux (BTRFS) without issue.  In my case the
ext2 filesystem is a common area for a dual-boot machine (NetBSD & Debian)
so I just do the rsync with the ext2 mounted on Debian.

I recall a past related thread regarding use of ext2 on NetBSD and I believe
the advice was to create said ext2 filesystem using newfs_ext2fs(8) instead
of from within Linux.  I see there is a fsck_ext2fs(8) which you might want
to run to see if there's any issues with your setup.

-B


Home | Main Index | Thread Index | Old Index