cannot mount a newly formatted HAMMER2 volume ... mount: invalid argument
df at neosystem.org
Mon Aug 10 22:59:36 PDT 2020
On Tue, 11 Aug 2020 02:44:03 -0300
nacho Lariguet <lariguet at gmail.com> wrote:
> mount_hammer2 '/dev/serno/CVCV2034019Y180EGN.s1d' '/mnt/tempROOT/';
> mount: Invalid argument
> hammer2_mount: '/dev/serno/CVCV2034019Y180EGN.s1d at ROOT'
There is no "ROOT" volume on that H2 filesystem because...
> newfs_hammer2 -L 'system' '/dev/serno/CVCV2034019Y180EGN.s1d';
... when creating a filesystem, you've instructed the tool to create
default volume named "system".
If you would have omitted -L parameter, default volume "ROOT" would have
been created (because processing s1d, see description in newfs_hammer2(8)),
and that mount command would work. But with "system" default volume, you
have to explicitely specify it, like:
mount_hammer2 '/dev/serno/CVCV2034019Y180EGN.s1d at system' '/mnt/tempROOT/';
Or, if you don't have anything valuable on that filesystem yet, better
re-create it with default volume, especially if you plan to put Dragonfly
system there and boot it later.
More information about the Users