tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
creating FFS2 file-system with makefs on linux
Hello. I would like to create netbsd XEN/PV domU guests from gnu/linux dom0s therefore create FFS2 file-systems from there. First, I tried adding `newfs` to tools/Makefile but I realized it's not possible (many header files to add and probably lots of porting required). So I tried with `makefs` instead, and it seems we're good! The following command did work and the guest is up and running already.
/var/tmp/usr/tools/bin/nbmakefs -t ffs -o v=2,o=time -s 2g slime9.ffs2 tree/
However when I increase the size of the image, it fails at higher volumes 3GB, 4GB, 5GB e.g.
/var/tmp/usr/tools/bin/nbmakefs -t ffs -o v=2,o=time -s 5g slime9.ffs2 tree/
Calculated size of `slime9.ffs2': 5368709120 bytes, 21246 inodes
Extent size set to 8192
slime9.ffs2: 5120.0MB (10485760 sectors) block size 8192, fragment size 1024
using 93 cylinder groups of 55.19MB, 7064 blks, 256 inodes.
super-block backups (for fsck -b #) at:
32, 113056, 226080, 339104, 452128, 565152, 678176,
791200, 904224, 1017248, 1130272, 1243296, 1356320, 1469344,
1582368, 1695392, 1808416, 1921440, 2034464, 2147488, 2260512,
2373536, 2486560, 2599584, 2712608, 2825632, 2938656, 3051680,
3164704, 3277728, 3390752, 3503776, 3616800, 3729824, 3842848,
3955872, 4068896, 4181920,nbmakefs: ffs_wtfs: seek error for sector 4294944: Invalid argument
Any thoughts?
Many thanks^^
--
Pierre-Philipp
Home |
Main Index |
Thread Index |
Old Index