Hi All,
First, thank you everyone for the great documentation and How-To guides to get noobs up and running! I'm new to FreeNAS and still experimenting.
I was attempting to rename my volume based on this thread:
http://forums.freenas.org/index.php?threads/renaming-volume-with-data-already-in-it.13061/
Note: I had to use -f since I couldn't figure out what was keeping the device busy and lsof wasn't available.
When I ran the import:
http://forums.freenas.org/index.php?threads/renaming-volume-with-data-already-in-it.13061/
Command Results:
[root@freenas] ~# zpool export -f NAS
[root@freenas] ~# zpool import NAS NAS2
cannot mount '/NAS2': failed to create mountpoint
cannot mount '/NAS2/.system': failed to create mountpoint
cannot mount '/NAS2/.system/cores': failed to create mountpoint
cannot mount '/NAS2/.system/samba4': failed to create mountpoint
cannot mount '/NAS2/.system/syslog': failed to create mountpoint
I wasn't able to get the import to mount correctly. Any advice on this would be great.
I've also tried specifying the directory via '-o'.
After importing the volume, I also detached the old volume via the web-ui, rebooted, and auto-import.
Mar 11 13:29:28 freenas manage.py: [middleware.notifier:1320] Failed to geli detach gptid/ea3af0f4-a95a-11e3-badc-0cc47a012859: geli: No such device: gptid/ea3af0f4-a95a-11e3-badc-0cc47a012859.
Mar 11 13:29:28 freenas manage.py: [middleware.notifier:1320] Failed to geli detach gptid/ea8efaa0-a95a-11e3-badc-0cc47a012859: geli: No such device: gptid/ea8efaa0-a95a-11e3-badc-0cc47a012859.
Mar 11 13:29:28 freenas manage.py: [middleware.notifier:1320] Failed to geli detach gptid/eae053df-a95a-11e3-badc-0cc47a012859: geli: No such device: gptid/eae053df-a95a-11e3-badc-0cc47a012859.
Mar 11 13:29:28 freenas manage.py: [middleware.notifier:1320] Failed to geli detach gptid/eb38c3a9-a95a-11e3-badc-0cc47a012859: geli: No such device: gptid/eb38c3a9-a95a-11e3-badc-0cc47a012859.
Mar 11 13:29:28 freenas manage.py: [middleware.notifier:1320] Failed to geli detach gptid/eb919848-a95a-11e3-badc-0cc47a012859: geli: No such device: gptid/eb919848-a95a-11e3-badc-0cc47a012859.
The keys are obtained prior to export.
Please note: The operation only fails if I am using an encrypted key with a password (in this simple example the password was just simple letters). An encrypted volume without a password works fine.
Please let me know if I'm missing anything!
Thanks!
First, thank you everyone for the great documentation and How-To guides to get noobs up and running! I'm new to FreeNAS and still experimenting.
I was attempting to rename my volume based on this thread:
http://forums.freenas.org/index.php?threads/renaming-volume-with-data-already-in-it.13061/
Note: I had to use -f since I couldn't figure out what was keeping the device busy and lsof wasn't available.
When I ran the import:
http://forums.freenas.org/index.php?threads/renaming-volume-with-data-already-in-it.13061/
Command Results:
[root@freenas] ~# zpool export -f NAS
[root@freenas] ~# zpool import NAS NAS2
cannot mount '/NAS2': failed to create mountpoint
cannot mount '/NAS2/.system': failed to create mountpoint
cannot mount '/NAS2/.system/cores': failed to create mountpoint
cannot mount '/NAS2/.system/samba4': failed to create mountpoint
cannot mount '/NAS2/.system/syslog': failed to create mountpoint
I wasn't able to get the import to mount correctly. Any advice on this would be great.
I've also tried specifying the directory via '-o'.
After importing the volume, I also detached the old volume via the web-ui, rebooted, and auto-import.
Mar 11 13:29:28 freenas manage.py: [middleware.notifier:1320] Failed to geli detach gptid/ea3af0f4-a95a-11e3-badc-0cc47a012859: geli: No such device: gptid/ea3af0f4-a95a-11e3-badc-0cc47a012859.
Mar 11 13:29:28 freenas manage.py: [middleware.notifier:1320] Failed to geli detach gptid/ea8efaa0-a95a-11e3-badc-0cc47a012859: geli: No such device: gptid/ea8efaa0-a95a-11e3-badc-0cc47a012859.
Mar 11 13:29:28 freenas manage.py: [middleware.notifier:1320] Failed to geli detach gptid/eae053df-a95a-11e3-badc-0cc47a012859: geli: No such device: gptid/eae053df-a95a-11e3-badc-0cc47a012859.
Mar 11 13:29:28 freenas manage.py: [middleware.notifier:1320] Failed to geli detach gptid/eb38c3a9-a95a-11e3-badc-0cc47a012859: geli: No such device: gptid/eb38c3a9-a95a-11e3-badc-0cc47a012859.
Mar 11 13:29:28 freenas manage.py: [middleware.notifier:1320] Failed to geli detach gptid/eb919848-a95a-11e3-badc-0cc47a012859: geli: No such device: gptid/eb919848-a95a-11e3-badc-0cc47a012859.
The keys are obtained prior to export.
Please note: The operation only fails if I am using an encrypted key with a password (in this simple example the password was just simple letters). An encrypted volume without a password works fine.
Please let me know if I'm missing anything!
Thanks!