- Joined
- May 26, 2011
- Messages
- 654
Hi,
probably really dumb question or i am blind and i can't see an option to rename dataset. I made a typo in dataset name and it looks ugly. I already have approx 100GB files in it. Is there a non-destructive way how to rename dataset or do i need to move all of the files out of it, then destroy/create and move all back?
Things like "mv yyy zzz" is a baaad idea i guess since it is not a directory but a mountpoint ... ;)
So probably correct way would be a "unmount -> zfs rename raidz/yyy raidz/zzz-> mount" ?
Anyway i found some old notes that i should not do this from CLI but from GUI via export/import otherwise database could get corrupted ? But no export/import in GUI at all ... :(
Thanks!
EDIT: LoL ... forum is censoring "trippleX" into "***" :D:D:D:D:D:D
probably really dumb question or i am blind and i can't see an option to rename dataset. I made a typo in dataset name and it looks ugly. I already have approx 100GB files in it. Is there a non-destructive way how to rename dataset or do i need to move all of the files out of it, then destroy/create and move all back?
Things like "mv yyy zzz" is a baaad idea i guess since it is not a directory but a mountpoint ... ;)
So probably correct way would be a "unmount -> zfs rename raidz/yyy raidz/zzz-> mount" ?
Anyway i found some old notes that i should not do this from CLI but from GUI via export/import otherwise database could get corrupted ? But no export/import in GUI at all ... :(
Thanks!
EDIT: LoL ... forum is censoring "trippleX" into "***" :D:D:D:D:D:D