I don't this that is implemented:
https://github.com/joyent/smartos-live/issues/510

I work around it by using zonecfg to remove it.

Regards

Jorge


On 2016-06-04 00:35, tommy wrote:
I'd guess to define only "target"


On 03 Jun 2016, at 23:52, Paul Sture <[email protected]> wrote:

I have added a filesystem to an native SmartOS zone and now wish to get rid of it. I'm sort of 99% sure that I did this about a year ago, but it's not working now.

To add filesystem

cat add_manage.json
{
"add_filesystems": [
{ "type": "lofs", "source": "/tank/vm_configs/manage", "target": "/manage" }
 ]
}

this works using 'vmadm update <uuid> -f add_manage.json' and I see /manage inside the zone

I have a year old file, which I think worked back then:

cat remove_manage.json
{
"remove_disks": [
  { "type": "lofs",  "target": "/manage" }
 ]
}

but now it simply barfs:

vmadm update <uuid> -f remove_manage.json
Invalid value(s) for: remove_disks

So the question is, How do I remove this filesystem?





-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to