Not able to increase ZFS file system on NGZ


 
Thread Tools Search this Thread
Operating Systems Solaris Not able to increase ZFS file system on NGZ
# 1  
Old 10-16-2013
Not able to increase ZFS file system on NGZ

I have Solaris-10 server running ZFS file-system. ctdp04_vs03-pttmsp01 is one of the non global zone. I wanted to increase a /ttms/prod file-system of zone, which is actually /zone/ctdp04_vs03-pttmsp01/ttms/prod on global server.
I have added a new disk of 9 GB, which is emcpower56a and now I can see all 4 disks in this zpool. All 4 disks are of 9 GB each.
Code:
root@ctdp04_vs03:/# zpool status pttmsp01_app_pool
  pool: pttmsp01_app_pool
 state: ONLINE
 scrub: none requested
config:
        NAME           STATE     READ WRITE CKSUM
        pttmsp01_app_pool  ONLINE       0     0     0
          emcpower51c  ONLINE       0     0     0
          emcpower52c  ONLINE       0     0     0
          emcpower53c  ONLINE       0     0     0
          emcpower56a  ONLINE       0     0     0
errors: No known data errors
root@ctdp04_vs03:/# df -h | grep -i pttmsp01_app_pool
pttmsp01_app_pool       26G    18K   1.6G     1%    /pttmsp01_app_pool
pttmsp01_app_pool/ttms   205M    21K   205M     1%    /zone/ctdp04_vs03-pttmsp01/ttms
pttmsp01_app_pool/ttms_apps    12G   6.5G   5.5G    55%    /zone/ctdp04_vs03-pttmsp01/ttms/apps
pttmsp01_app_pool/ttms_prod    21G   8.0G   5.6G    59%    /zone/ctdp04_vs03-pttmsp01/ttms/prod
root@ctdp04_vs03:/#
root@psapip03:/# zlogin ctdp04_vs03-pttmsp01 df -h /ttms/prod
Filesystem             size   used  avail capacity  Mounted on
/ttms/prod              14G   8.0G   5.6G    59%    /ttms/prod

When I login inside zone then it shows me 14 GB only. Why ? I thought below output should show increased size, which is 9*4 = 36GB
Code:
root@ctdp04_vs03:/# zpool list -o name,size | grep -i pttmsp01_app_pool
pttmsp01_app_pool   26.2G

# 2  
Old 10-17-2013
Did someone enable quotas?
# 3  
Old 10-17-2013
Yes I had set quota. But I think, I get the reason. I added emcpower56a instead of emcpower56c. I should have added third slice which is complete disk, instead of first partition. But now challenge is, how should I remove this disk. Can we remove disk from ZFS ? "zfs remove pool device" is not allowing.
# 4  
Old 10-17-2013
I thiink you could try attaching proper LUN to the one you want to remove, then after synchronozation is done, detach it. Check "zpool attach".
# 5  
Old 10-17-2013
Response: Not able to increase ZFS file system on NGZ

Hi

Where are you with this?

what commands did you use to add the disk in the first place?



Gabriel Smith
# 6  
Old 10-17-2013
Code:
zpool pttmsp01_app_pool emcpower56a
zfs quota=21G pttmsp01_app_pool/ttms_prod

This is critical file-system, which keep one important application. So we do not want to take any risk, which can break the system. May be we can take downtime of this and then try something
# 7  
Old 10-17-2013
you probably meant you ran:

Code:
zpool add pttmsp01_app_pool emcpower56a

Do me a favor, just run a plain old zpool list and a zfs list.

Code:
#zpool list

#zfs list


Last edited by Scott; 10-17-2013 at 09:07 PM.. Reason: Please use code tags
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to grow a zfs file system?

Hi I have the following file system, that needs to be expanded to more 500Gb, so a total of 1Tb: df -h /oradata1 Filesystem Size Used Available Capacity Mounted on oradata1 587G 517G 69G 89% /oradata1 I am not familiar with zfs, I am more... (17 Replies)
Discussion started by: fretagi
17 Replies

2. AIX

100% full file system - error when trying to increase

Hi, I came across a situation where I had to increase a filesystem that was 100% full and received this error: /tmp:chfs -a size=+5000M /tmp 0516-634 lquerypv: /tmp directory does not have enough space, delete some files and try again. 0516-788 extendlv: Unable to extend logical... (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies

3. Red Hat

Procedure to increase file system

Hi, How/what is the procedure to increase file system in linux server ? Regards, Maddy (6 Replies)
Discussion started by: Maddy123
6 Replies

4. HP-UX

[Solved] Increase the file system size

Dear Friends, I would like to increase the size of a file system from 10GB to 15GB. System is runing on HP-UX 11.31. Please help in the matter. Regards, Bhagawati Pandey (3 Replies)
Discussion started by: BPANDEY
3 Replies

5. Solaris

increase SWAP on ZFS file system

Hi All, I am using this commands to dynamically increase ZFS swap space on Solaris my question is: 1- after i make these commands it will permanent or it will remove after restart 2- how to make it permanent # swap -l swapfile dev swaplo bloques libre /dev/zvol/dsk/rpool/swap... (4 Replies)
Discussion started by: osmanux
4 Replies

6. Red Hat

Increase root file system size ...

Hello Admins, I am running a redhat linux 5 on vmware workstation. I need to increase or add some more space to my root (/) partition. I don't have any LVM configured.. Please suggest. # df -kh Filesystem Size Used Avail Use% Mounted on /dev/sda2 3.8G 3.1G ... (4 Replies)
Discussion started by: snchaudhari2
4 Replies

7. AIX

increase the size of file system

Hi all, we are usig aix 4.3 and i need to increase the size of "/u01" file sytem which is mounted on logical volume "lv00", but "/u01" file system size is 9 GB and logical volume "lvoo" size 9 GB.how do i increase the size of /u01.do i increase the size of logical volume "lv00" and then... (2 Replies)
Discussion started by: younusdba
2 Replies

8. UNIX for Dummies Questions & Answers

zfs file system

Hi, I try add a new file system: #zfs create dsk1/mqm it came back with: #cannot create 'dsk1/mqm': no such pool 'dsk1' what do I have to do? Kind regards Mehrdad (2 Replies)
Discussion started by: mehrdad68
2 Replies

9. Solaris

increase root file system size in solaris

Hi frnz, Need an urgent help... I have installed solaris 8 in a sunblade workstation with 136GB hdd. While installation it has taken a default filesystem size as 1.37GB for root. AFtr completing the installation i have extended the root partition to 130GB. But still df output shows... (4 Replies)
Discussion started by: sriram.s
4 Replies

10. UNIX for Dummies Questions & Answers

Increase space in the solaris file system

How can I check how much space is left in the solaris file system? and how can I increase those space in the file system?. I am trying to install Oracle Database on Solaris 8.But, it keep giving me error message says that"There is not enough space on the volume you have specified". Thanks ... (1 Reply)
Discussion started by: jung1975
1 Replies
Login or Register to Ask a Question