Hi all! I prepare to make plug music server with usb connected hard drive, formated ext3, since the system is ubuntu 9.04 as default. My rips are back-uped on spare usb disk, formated as ufs. My idea is to copy files from ufs to ext3 drive, using freebsd. I would probably enconter inode problem, since modern linuces use inode as 256, but bsd uses it as 128. I could use knoppix and format is with -I 128 flag. In ports available is e2fsprogs package with some utilities that might help. I could also take another approach and use rsync to avoid all inode puzzles. What would you recommend as the most reliable? Mounting ext3 as ext2 poses the question of making it "dirty" and necessity to fsck it first on linux system. Also, I found some posts of ina- bility to have the job done this way on branch 7. I have 8.0 on the laptop I write this and (if memory serves me well) 7.1 on old desktop. Best reagards Zoran
You could try this, but it needs patching for FreeBSD: http://sourceforge.net/projects/ext2fuse/
On Monday 04 January 2010 17:58, Zoran Kolic wrote:> Hi all! > I prepare to make plug music server with usb connected hard drive, > formated ext3, since the system is ubuntu 9.04 as default. My > rips are back-uped on spare usb disk, formated as ufs. My idea is > to copy files from ufs to ext3 drive, using freebsd. I would > probably enconter inode problem, since modern linuces use inode > as 256, but bsd uses it as 128. I could use knoppix and format > is with -I 128 flag. In ports available is e2fsprogs package with > some utilities that might help. I could also take another approach > and use rsync to avoid all inode puzzles. > What would you recommend as the most reliable? Mounting ext3 as > ext2 poses the question of making it "dirty" and necessity to > fsck it first on linux system. Also, I found some posts of ina- > bility to have the job done this way on branch 7. I have 8.0 > on the laptop I write this and (if memory serves me well) 7.1 > on old desktop. > Best reagards > > Zoran >i have been using the e2fsprogs from the ports collection since 8.0-BETA2 without any problems*, i think that it will work for you. * the partition which i mounted was a 256 one too -- Real programmers don't document. If it was hard to write, it should be hard to understand. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20100104/9a72ae4d/attachment.pgp
Hi all!> i have been using the e2fsprogs from the ports collection since 8.0-BETA2 > without any problems*, i think that it will work for you. > > * the partition which i mounted was a 256 one tooK, I could install 8 on old box. Have you partitioned and formatted the usb drive on freebsd? Or it was done on some linux distro? Finally, after mounting, I will have to copy files to ext3 drive. Does it work also flowlessly? Since the sheevaplug could mount ext3, I have an option to either rsync or scp to it directories recursive over ethernet adapters and setting ip addresses. What do you think over this? Best regards Zoran
Late reply. Bussy week. After more reading, I changed my mind and decided to go with e2fsprogs to manage ext3 formatted usb hard drive. I still have no sheevaplug and no hdd, but I like to prepare everything and be ready for every surprise. I always recompile kernel and have no ext2fs in it. I should probably kldload ext2fs.ko first to have support. But, I still do not see the way to manage ext3 in a different way, since in the list of apps of e2fsprogs does not exist one to have it. What to do otherwise: mount -t ext2fs /dev/da0s1 /storage Or, did I misunderstand the way it works? Maybe I should not load the module and use something I'm still not aware of? Best regards Zoran
> contrary to you, i didn't remove EXT2FS from my kernelLooking at GENERIC in 8.0, I don't see ext2 at all. Just as module. Probably could be added. Further reading and thinkering, I should be probably fine loading ext2fs module on amd64 8.0, then mounting it via: mount -t ext2fs /dev/da0s1 /storage I also found a patch for branch 7, included in 8. If suffices, I'd go no further. If something happens, I will install e2fsprogs for fsck on bsd, rather than linux. Plug is still on the way, cannot try out all the stuff. Thank you for answer. Best reagards Zoran