Discussion:
[Fwd: File system size reduction]
Vikas Kakkar
2008-08-27 07:59:49 UTC
Permalink
Hi,

Please help answering the following queries:

1. Can we reduce the size of a file system if we use ZFS?

2. Can we use ZFS is the storage array is EMC DMX-4?

Thanks in Advance.

Regards
Vikas
Sanjeev
2008-08-27 09:20:55 UTC
Permalink
Vikas,
Post by Vikas Kakkar
Hi,
1. Can we reduce the size of a file system if we use ZFS?
The size of the filesystem is dynamic. ie. it depends on the size of the pool.
The only way to limit the size of the filesystem is by applying quota on it.
And quota can be dynamically increased/decreased.

NOTE : Ofcourse we cannot reduce the quota to anything lesser than what the
filesystem is already consuming.
Post by Vikas Kakkar
2. Can we use ZFS is the storage array is EMC DMX-4?
Not sure about the specifics. But, as long as the box can publish its
LUNs as disks on a host it should work.

Regards,
Sanjeev.
Post by Vikas Kakkar
Thanks in Advance.
Regards
Vikas
_______________________________________________
zfs-discuss mailing list
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Tomas Ögren
2008-08-27 09:57:09 UTC
Permalink
Post by Sanjeev
Vikas,
Post by Vikas Kakkar
Hi,
1. Can we reduce the size of a file system if we use ZFS?
The size of the filesystem is dynamic. ie. it depends on the size of the pool.
The only way to limit the size of the filesystem is by applying quota on it.
And quota can be dynamically increased/decreased.
NOTE : Ofcourse we cannot reduce the quota to anything lesser than what the
filesystem is already consuming.
Currently, you can not reduce the size of the pool. Once you add a disk
to a pool, you can only get rid of it by replacing it with something
equally or larger in size.

/Tomas
--
Tomas Ögren, ***@acc.umu.se, http://www.acc.umu.se/~stric/
|- Student at Computing Science, University of Umeå
`- Sysadmin at {cs,acc}.umu.se
Sanjeev
2008-08-27 09:58:44 UTC
Permalink
Tomas,
Post by Tomas Ögren
Post by Sanjeev
Vikas,
Post by Vikas Kakkar
Hi,
1. Can we reduce the size of a file system if we use ZFS?
The size of the filesystem is dynamic. ie. it depends on the size of the pool.
The only way to limit the size of the filesystem is by applying quota on it.
And quota can be dynamically increased/decreased.
NOTE : Ofcourse we cannot reduce the quota to anything lesser than what the
filesystem is already consuming.
Currently, you can not reduce the size of the pool. Once you add a disk
to a pool, you can only get rid of it by replacing it with something
equally or larger in size.
You are right. But, that does not apply to the filesystem in that pool.

Thanks and regards,
Sanjeev.
Post by Tomas Ögren
/Tomas
--
|- Student at Computing Science, University of Umeå
`- Sysadmin at {cs,acc}.umu.se
Vikas Kakkar
2008-08-27 10:08:27 UTC
Permalink
Thanks for your email Sanjeev!!

Actually customer wants to reduce the pool size, I guess we cannot do
this today....there is a pending RFP on this.

Would you know if ZFS is supported for Sun Cluster?

Regards
Vikas
Post by Sanjeev
Vikas,
Post by Vikas Kakkar
Hi,
1. Can we reduce the size of a file system if we use ZFS?
The size of the filesystem is dynamic. ie. it depends on the size of the pool.
The only way to limit the size of the filesystem is by applying quota on it.
And quota can be dynamically increased/decreased.
NOTE : Ofcourse we cannot reduce the quota to anything lesser than what the
filesystem is already consuming.
Post by Vikas Kakkar
2. Can we use ZFS is the storage array is EMC DMX-4?
Not sure about the specifics. But, as long as the box can publish its
LUNs as disks on a host it should work.
Regards,
Sanjeev.
Post by Vikas Kakkar
Thanks in Advance.
Regards
Vikas
_______________________________________________
zfs-discuss mailing list
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Boyd Adamson
2008-08-27 10:39:22 UTC
Permalink
Vikas Kakkar <***@Sun.COM> writes:
[..]
Post by Vikas Kakkar
Would you know if ZFS is supported for Sun Cluster?
ZFS is supported as a failover filesystem in SunCluster 3.2. There is no
support for ZFS as a global filesystem.

HTH,

Boyd
Vikas Kakkar
2008-08-27 10:44:05 UTC
Permalink
Thank you all for answering these questions!!

Regards
Vikas
Post by Boyd Adamson
[..]
Post by Vikas Kakkar
Would you know if ZFS is supported for Sun Cluster?
ZFS is supported as a failover filesystem in SunCluster 3.2. There is no
support for ZFS as a global filesystem.
HTH,
Boyd
Sanjeev
2008-08-27 11:41:09 UTC
Permalink
Hi Vikas,
Post by Vikas Kakkar
Thanks for your email Sanjeev!!
Actually customer wants to reduce the pool size, I guess we cannot do this today....there is a pending RFP on this.
You are right. I got confused because, you were refering to a filesystem and not
pool :)
Post by Vikas Kakkar
Would you know if ZFS is supported for Sun Cluster?
Yes, ZFS can used as a HA filesystem (HAStoragePlus resource).
However, you cannot use it as a global filesystem

Thanks and regards,
Sanjeev.
Post by Vikas Kakkar
Regards
Vikas
Post by Sanjeev
Vikas,
Post by Vikas Kakkar
Hi,
1. Can we reduce the size of a file system if we use ZFS?
The size of the filesystem is dynamic. ie. it depends on the size of the pool.
The only way to limit the size of the filesystem is by applying quota on it.
And quota can be dynamically increased/decreased.
NOTE : Ofcourse we cannot reduce the quota to anything lesser than what the
filesystem is already consuming.
Post by Vikas Kakkar
2. Can we use ZFS is the storage array is EMC DMX-4?
Not sure about the specifics. But, as long as the box can publish its
LUNs as disks on a host it should work.
Regards,
Sanjeev.
Post by Vikas Kakkar
Thanks in Advance.
Regards
Vikas
_______________________________________________
zfs-discuss mailing list
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Miles Nordin
2008-08-27 18:30:39 UTC
Permalink
vk> Actually customer wants to reduce the pool size, I guess we
vk> cannot do this today....there is a pending RFP on this.

RFE 4852783 is decreasing.

There was maybe some recent activity about INcreasing a pool size
which you can do already, but adding ability to notice the change in
LUN size without disconnecting the LUN and without exporting the pool.
I may have misunderstood though.

Anyway, currently you can increase only, not decrease, and it is
offline increasing---you must export and import the pool. It's
offline, but it's instantaneous and silent, meaning there's no
zfs_expand tool that runs for an hour or anything. so, for now,
adding devices can be done online, but increasing is offline and
decreasing/removing/raid-type-migration is impossible.

Loading...