How could I rename a disk partition?

Status
Not open for further replies.

Epinette

Cadet
Joined
Jul 6, 2014
Messages
3
Hi guys,

Here the result of zpool status
pool: BatCave
state: ONLINE
scan: scrub in progress since Sun Jul 6 20:00:03 2014
2.66T scanned out of 9.82T at 258M/s, 8h4m to go
0 repaired, 27.10% done
config:

NAME STATE READ WRITE CKSUM
BatCave ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
gptid/d8ac3ce6-31cf-11e1-a828-386077064236 ONLINE 0 0 0
gptid/19289de6-b4d9-11e2-853d-386077064236 ONLINE 0 0 0
gptid/fc353d89-a2f5-11e2-a112-386077064236 ONLINE 0 0 0
gptid/bb9d14c1-a7a3-11e3-8624-386077064236 ONLINE 0 0 0
ada5p2 ONLINE 0 0 0
gptid/87662fae-03e3-11e4-889e-386077064236 ONLINE 0 0 0
gptid/da6eb014-31cf-11e1-a828-386077064236 ONLINE 0 0 0
gptid/dabcae8b-31cf-11e1-a828-386077064236 ONLINE 0 0 0
gptid/3a1915be-732b-11e3-94c0-386077064236 ONLINE 0 0 0

errors: No known data errors
I would like to rename the partition ada5p2 with uuid. Is it possible without replace and resilver?
Hope is clear.
Thanks
Richard
 

Yatti420

Wizard
Joined
Aug 12, 2012
Messages
1,437
How did you create the pool? Did you use an old version of FreeNAS? or something like Nas4Free..
 

Epinette

Cadet
Joined
Jul 6, 2014
Messages
3
How did you create the pool? Did you use an old version of FreeNAS? or something like Nas4Free..

This anomalie occur when I replaced a faulty disk. The new disk was from an old pool so the replace from the web interface did not work. (Cause of old pool)
I use command line with the option -f but gave the ada5p2 where I should use uuid.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Yeah, you should have replaced the disk in the WebGUI. That's singlehandedly the reason for your problem. You are going to need to remove that disk, wipe it, then add it back to your pool as a replacement for itself using the WebGUI.
 

Epinette

Cadet
Joined
Jul 6, 2014
Messages
3
Hi,

Finally, I put the device ada5p2 offline
zpool offline -t BatCave ada5p2

Wipe the device ada5p2 with the WebGUI, Replace with the WebGUI.

resilver was a success

Thanks for the help

Richard
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Woohoo! Congrats
 
Status
Not open for further replies.
Top