Extend zfs storage filesystem


 
Thread Tools Search this Thread
Operating Systems Solaris Extend zfs storage filesystem
# 1  
Old 05-02-2018
Extend zfs storage filesystem

Hello,

Need to ask the question regarding extending the zfs storage file system.

currently after using the command, df -kh
Code:
u01-data-pool/data  600G  552  48G 93% /data

/data are only 48 gb remaining and it has occupied 93% for total storage.

zpool u01-data-pool has more then 200 gb space are available, how we can

increase the size of u01-data-poo/data

We used the below command to increase the size of the file system, it work but not showing the complete space.
Code:
zfs set quota=700g u01-data-pool/data

after used above command, the file sytem /data are
Code:
u01-data-pool/data 700G 552G 82G 88% /data

Kindly explain us why the available space are not showing 148gb instead of 82 gb.


Please advice us.

Regards,
khan
Moderator's Comments:
Mod Comment Please use CODE tags when displaying sample input, output, and code segments.

Last edited by Don Cragun; 05-03-2018 at 04:00 AM.. Reason: Add CODE and ICODE tags.
# 2  
Old 05-02-2018
Can you provide out of :
Code:
zfs list -t all -o space -r u01-data-pool

Regards
Peasant.
# 3  
Old 05-03-2018
Code:
# zfs list -t all -o space -r u01-data-pool

NAME                AVAIL   USED  USEDSNAP  USEDDS  USEDREFRESERV  USEDCHILD
u01-data-pool       82.4G   752G         0     31K              0       752G
u01-data-pool/data  82.4G   552G         0    552G              0          0
u01-data-pool/u01    190G  10.0G         0   10.0G              0          0


Last edited by Don Cragun; 05-03-2018 at 04:01 AM.. Reason: Add CODE tags again.
# 4  
Old 05-04-2018
How big is the entire zpool ?
Code:
zpool list u01-data-pool

Also examine the output the following, looking for quota, refquota, reservation and refreservation set on each filesystem.

Code:
zfs get refquota,quota,refreservation,reservation u01-data-pool
zfs get refquota,quota,refreservation,reservation u01-data-pool/data
zfs get refquota,quota,refreservation,reservation u01-data-pool/u01

Hope that will shed a light to the problem.
Regards
Peasant.
# 5  
Old 05-05-2018
output for queries

# zpool list u01-data-pool

NAME SIZE ALLOC FREE CAP HEALTH ALTROOT
u01-data-pool 848G 562G 286G 66% ONLINE -



# zfs get refquota,quota,refreservation,reservation u01-data-pool

NAME PROPERTY VALUE SOURCE
u01-data-pool refquota none default
u01-data-pool quota none default
u01-data-pool refreservation none default
u01-data-pool reservation none default


# zfs get refquota,quota,refreservation,reservation u01-data-pool/data
NAME PROPERTY VALUE SOURCE
u01-data-pool/data refquota none default
u01-data-pool/data quota 700G local
u01-data-pool/data refreservation none default
u01-data-pool/data reservation none local

# zfs get refquota,quota,refreservation,reservation u01-data-pool/u01

NAME PROPERTY VALUE SOURCE
u01-data-pool/u01 refquota none default
u01-data-pool/u01 quota 200G local
u01-data-pool/u01 refreservation none default
u01-data-pool/u01 reservation 200G local
# 6  
Old 05-06-2018
Please use code tags, according the the forum rules.

The file system u01-data-pool/u01 has a reservation property set to 200 GB.

Property reservation will do just that, reserve 200 GB for the specified zfs filesystem - guaranteeing 200 GB.
It will show as used space as soon as it's set with zfs set command.

Since the mentioned file system with reservation property has only 10 gb used, lowering that property will effectively increase the usable space for other filesystems under the zpool.

As for the reasons for such setup, you should check with administrator or one who made it.

Hope that helps
Regards
Peasant.
# 7  
Old 05-06-2018
Dear peasant,

Thanks for your reply, I have a target to increased the size of u01-data-pool/data file system, because all oracle database files are reside there.

For u01-data-pool/u01 have oracle binary files , so no issues for this file system.

Need a command to proper extend the size of u01-data-pool/data pool.

Hope you understand my point.

Regards,
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

ZFS Filesystem

Hi, Recently we have new server T5 Oracle. We set up it for our database. For out database files we set one zfs filesystem. When i use iostat -xc the output as below. As you see the value for vdc4 is quite high. extended device statistics cpu device ... (32 Replies)
Discussion started by: tharmendran
32 Replies

2. Emergency UNIX and Linux Support

Not able to extend ZFS file system

Hi All, I have Solaris-10 configured with two non-global zones. All file-systems are mounted on global zone and data file-systems are mounted on non-global zone as lofs. I have added 4 luns of 100 GB each and still not able to extend a file-system. This is production server, so I can not... (5 Replies)
Discussion started by: solaris_1977
5 Replies

3. AIX

choosing correct VG for Filesystem extend

Hi Gurus, I have Aix 5.3 server and would like to extend the following filesystem. Filesystem GB blocks Free %Used Iused %Iused Mounted on /dev/lv_mecdr 120.00 12.04 90% 560973 14% /home/mecdrBut there's only 16G for the VG, may be i can expand it... (11 Replies)
Discussion started by: thepurple
11 Replies

4. Solaris

I need expand or extend a filesystem dfsk.

Hello I need to expand a filesystem is full, but I understand that for this I need a volume manager like SVM or Veritas. I have installed solaris 10 but I give it a metastat and tells me there is no database, as if the installation does not have the sudmirrors attachments. The filesystem... (1 Reply)
Discussion started by: cata
1 Replies

5. Solaris

Filesystem - error when extend the filesystem

Hi all, currently , my root filesystem already reach 90 ++% I already add more cylinder in the root partition as below Part Tag Flag Cylinders Size Blocks 0 root wm 67 - 5086 38.46GB (5020/0/0) 80646300 1 swap wu 1 - ... (11 Replies)
Discussion started by: SmartAntz
11 Replies

6. Filesystems, Disks and Memory

How to extend a filesystem??

OK I'm sure this question has been posed far too many times. I have solaris 10 x86 with NO Veritas or Disksuite filesystems. Below is the output of df -k # df -k Filesystem kbytes used avail capacity Mounted on / 10485760 547513 9317128 6% / /dev... (1 Reply)
Discussion started by: jackiebaron
1 Replies

7. Solaris

How to extend a filesystem

I am running solaris 10 with Veritas. I want to extend a filesystem. It's an oracle partition (/ora12). How can I find out if there is space available to expand the filesystem and then how does one extend it. I'm from the HPUX world and so LVM was always how I did things. Thanks jackie (5 Replies)
Discussion started by: jackiebaron
5 Replies

8. AIX

Extend a Filesystem with other LV

Hi Everybody, Is it possible to extend a Filesystem by adding a new LV that exist on different VG to this Filesystem? Thanks in advance. (6 Replies)
Discussion started by: aldowsary
6 Replies

9. Filesystems, Disks and Memory

how can I extend /usr filesystem

How can extend /usr filesystem in hp-ux 11.11 (I'm not using online JFS) ? (0 Replies)
Discussion started by: pedro_lezaeta
0 Replies
Login or Register to Ask a Question