Page 1 of 1

zpool import while not super-user

PostPosted: Sun Mar 23, 2014 5:57 am
by haer22
When I ran "zpool import" I got back "no pools available".

That was after a panic so I thought the sh*t had hit the fan again and mentally prepared to re-load 3 TB data again. But fortunately, I saw that I ran as myself, not as root. After a sudo -s everything looked as it should

If one run zpool import as a normal user, can you please add some warning or whatever. Maybe if one cannot access any /dev/* for writing or something. As it is now it is a bit too subtle.

Re: zpool import while not super-user

PostPosted: Sun May 18, 2014 8:41 am
by dch

Re: zpool import while not super-user

PostPosted: Sun May 18, 2014 4:06 pm
by lundman
Yeah maybe we'll throw in a simple message to zpool command.