Almost; you should backup anything of value in main first, since ream will empty it, and declare the dump file system after, like this:
# backup main elsewhere
halt
# reboot fs
config
fsys main c[w.0.<0-1>.0]fp(h0.0.0)02.98
fsys dump o
ream main
end
