Extend zfs storage filesystem


 
Thread Tools Search this Thread
Operating Systems Solaris Extend zfs storage filesystem
# 8  
Old 05-06-2018
Both filesystems are under the same zpool.

So removing or lowering the reservation on u01 filesystem will have that effect.
You will now see additional 200 GB of space, since you increased the quota on /data earlier.

Regards
Peasant.
# 9  
Old 05-06-2018
Hello peasant,

Thanks brother for your reply, I need your support to reduce the reservation size of /u01 and increase the free space size of /data file system.

I have a one confusion, kindly clarify the confusion, last time I used the below zfs set quota command to increased the size of u01-data-pool/data

zfs set quota = 700g u01-data-pool/data

after above command the file system of /data are 700 gb from 600 gb and the free available space was 48 gb after that it is 82 gb.

So why the available space are not 148 gb , why it has increased 34 gb more to come 82 gb.

kindly advice us.

Regards,
# 10  
Old 05-06-2018
Reading about zfs reservation and quotas could be a start of understanding those.

In your case a simple :
Code:
zfs set reservation=100GB u01-data-pool/u01

Will show 100 GB of additional space available for other datasets in zpool.

A zfs quota is effectively a soft limit to a dataset (filesystem).
It does not change the USED of entire zpool.

A zfs reservation is a hard limit to a dataset (filesystem).
It does change USED of entire zpool.

Hope that clear things out.
Regards
Peasant.
# 11  
Old 05-06-2018
Hello peasant,

Thanks for your guide & I am very glad to inform that after used the below command.

zfs set reservation=100GB u01-data-pool/u01

the /data file system are extended and the free space are 141 gb, before it was 75 gb.

u01-data-pool/data 700G 559G 141G 80% /data

Again appreciate & thanks.

Now the same scenario has our production environment & we have not a more space

to store the db data.


$ zpool list prod-db-pool

NAME SIZE ALLOC FREE CAP HEALTH ALTROOT
prod-db-pool 848G 629G 219G 74% ONLINE -

after df -kh , the space for /data & /u01 are below, both are in same pool.

prod-db-pool/data 600G 576G 24G 97% /data

prod-db-pool/u01 200G 53G 147G 27% /u01

Now our important file system is /data and it has only 24GB remaining, kindly guide us

how to extend the free space of /data file system.

Regards,
# 12  
Old 05-07-2018
I think i've done enough to help and guide you.
Using the knowledge you received from the posts on this subject, you should be able to reach similar conclusions/solutions independently.

This forum is meant to guide you, not to offer done solutions for every possible variation on given subject.

We are not your unpaid programming or engineering staff.

Regards
Peasant.
These 2 Users Gave Thanks to Peasant For This Post:
# 13  
Old 05-07-2018
Hello Peasant,

Thanks for your reply & again appreciate for your guide & support.

I know that you are helping me to understand the actual issue, how to extend the file system as per our scenario.

Just need one more favour to fix the last issue , after that i will close the thread.

Again i have really appreciate your effort to help & solve the issue.

Regards,

---------- Post updated at 04:30 PM ---------- Previous update was at 08:59 AM ----------

Hello Peasant,

I am waiting for your feedback, kindly guide me to the last issue that i have faced.

Highly appreciated for your guide & support.

Regards,
# 14  
Old 05-07-2018
@Shahzad53, I'm afraid you missed the point. You give the impression not to have make any effort to try to understand what was explained. You didn't even follow the multiple requests to use code tags in your postings.

I would suggest you to read again and understand what was taught, if unclear read the various resources about ZFS administration you'll find on the net, e.g. Oracle Solaris 10 ZFS Administration Guide or Managing ZFS File Systems in Oracle Solaris 11.4, build a test zpool and experiment with various settings.
This User Gave Thanks to jlliagre For This Post:
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