OpenSolaris Solaris Forum  
     

Left Nav Register FAQ Members List Default Password Members List Linux Commands Search Today's Posts Mark Forums Read Right Nav

Left Container Right Container
 

Go Back   OpenSolaris Solaris Forum » Solaris General

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-18-2009, 02:37 PM
Junior Member
 
Join Date: May 2009
Posts: 1
Default Migrating zpool to bigger disks

I'm going to set up a ZFS mirror using two 1TB disks for an offsite backup for when I head off to school this fall... and I'm trying to plan ahead.

My question is:

Once those disks are full/nearing end of life/making grinding noises, how do I migrate the zpool off of one set of physical disks and onto another while growing the zpool to fill any additional space in the new disks?

I guess I could just make a new zpool on the new disks and copy everything over using "cp -a /oldbackup /newbackup", but that has to have some drawback, right?

Thanks.
Reply With Quote
Sponsored Links

  #2 (permalink)  
Old 06-28-2010, 03:58 PM
Junior Member
 
Join Date: Jun 2010
Posts: 5
Default

Quote:
Originally Posted by JimXugle View Post
I'm going to set up a ZFS mirror using two 1TB disks for an offsite backup for when I head off to school this fall... and I'm trying to plan ahead.

My question is:

Once those disks are full/nearing end of life/making grinding noises, how do I migrate the zpool off of one set of physical disks and onto another while growing the zpool to fill any additional space in the new disks?

I guess I could just make a new zpool on the new disks and copy everything over using "cp -a /oldbackup /newbackup", but that has to have some drawback, right?

Thanks.
Take a snapshot of filesystem to move.

#zfs snapshot <pool name>/test1@backup

To move the you execute

#zfs backup <pool name>/test1@backup | zfs restore newpool/newfilesystem
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:37 PM.


Powered by vBulletin. Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.