Javier Conde
2009-Sep-24 11:43 UTC
[zfs-discuss] Changing the recordsize while replacing a disk
Hello, Quick question: I have changed the recordsize of an existing file system and I would like to do the conversion while the file system is online. Will a disk replacement change the recordsize of the existing blocks? My idea is to issue a "zpool replace <mypool> <old_disk> <new_disk> Will this work? Thanks in advance, Javi
Robert Milkowski
2009-Sep-24 11:55 UTC
[zfs-discuss] Changing the recordsize while replacing a disk
Javier Conde wrote:> > Hello, > > Quick question: > > I have changed the recordsize of an existing file system and I would > like to do the conversion while the file system is online. > > Will a disk replacement change the recordsize of the existing blocks? > > My idea is to issue a "zpool replace <mypool> <old_disk> <new_disk> > > Will this work? >No it won''t. However all new files which are created will be using a new recordsize. If you want the old files''s recordsize to be changed you will have to copy them and remove old version. -- Robert Milkowski http://milek.blogspot.com