zpool import while not super-user

Developer discussions.

zpool import while not super-user

Postby haer22 » Sun Mar 23, 2014 5:57 am

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.
haer22
 
Posts: 123
Joined: Sun Mar 23, 2014 2:13 am

Re: zpool import while not super-user

Postby dch » Sun May 18, 2014 8:41 am

dch
 
Posts: 2
Joined: Sun May 18, 2014 8:34 am

Re: zpool import while not super-user

Postby lundman » Sun May 18, 2014 4:06 pm

Yeah maybe we'll throw in a simple message to zpool command.
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan


Return to OpenZFS on OS X Development

Who is online

Users browsing this forum: No registered users and 9 guests