zpool hasn't expanded


 
Thread Tools Search this Thread
Operating Systems Solaris zpool hasn't expanded
# 1  
Old 08-28-2012
zpool hasn't expanded

Hi Guys,

I have a raidz zpool that consists of four disks. 2x2TB, 1x1TB and 1x0.75TB.

Originally it was only 1x1TB, 3x0.75TB, and I had around 1.7TB of storage capacity. I've just switched out two of the 0.75TB disks for the 2x2TB ones. I did this one at a time and now the resilvering is complete...however it only shows 2TB of available storage. I was expecting around 3.75TB (using simple manufacturer sizes to make it easier Smilie) but not as small as 2TB.

Here are some details;

I have autoexpand=on set for the share zpool.

Code:
       0. c3t0d0 <ATA-Hitachi HUA72202-A3EA-1.82TB>
          /pci@0,0/pci103c,1609@11/disk@0,0
       1. c3t1d0 <ATA-Hitachi HUA72202-A3EA-1.82TB>
          /pci@0,0/pci103c,1609@11/disk@1,0
       2. c3t2d0 <ATA-ST3750640AS-C-698.64GB>
          /pci@0,0/pci103c,1609@11/disk@2,0
       3. c3t3d0 <ATA-Hitachi HDT72101-A31B-931.51GB>
          /pci@0,0/pci103c,1609@11/disk@3,0
       4. c5d1 <OCZ-AGIL--4U1G8S567R5BJ64-0001 cyl 14590 alt 2 hd 255 sec 63>
          /pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0

Code:
root@server:~# zpool list
NAME    SIZE  ALLOC   FREE  CAP  DEDUP  HEALTH  ALTROOT
rpool   111G  31.5G  79.5G  28%  1.00x  ONLINE  -
share  2.72T  1.71T  1.01T  62%  1.00x  ONLINE  -

Code:
root@server:~# zpool status -v
  pool: rpool
 state: ONLINE
  scan: none requested
config:

    NAME      STATE     READ WRITE CKSUM
    rpool     ONLINE       0     0     0
      c5d1s0  ONLINE       0     0     0

errors: No known data errors

  pool: share
 state: ONLINE
  scan: resilvered 436G in 3h6m with 0 errors on Tue Aug 28 18:04:15 2012
config:

    NAME        STATE     READ WRITE CKSUM
    share       ONLINE       0     0     0
      raidz1-0  ONLINE       0     0     0
        c3t0d0  ONLINE       0     0     0
        c3t1d0  ONLINE       0     0     0
        c3t2d0  ONLINE       0     0     0
        c3t3d0  ONLINE       0     0     0

errors: No known data errors
root@server:~#

Code:
root@server:/$ df -h
Filesystem             Size   Used  Available Capacity  Mounted on
rpool/ROOT/solaris     109G   3.7G        78G     5%    /
/devices                 0K     0K         0K     0%    /devices
/dev                     0K     0K         0K     0%    /dev
ctfs                     0K     0K         0K     0%    /system/contract
proc                     0K     0K         0K     0%    /proc
mnttab                   0K     0K         0K     0%    /etc/mnttab
swap                   5.0G   1.3M       5.0G     1%    /system/volatile
objfs                    0K     0K         0K     0%    /system/object
sharefs                  0K     0K         0K     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap2.so.1
                        81G   3.7G        78G     5%    /lib/libc.so.1
fd                       0K     0K         0K     0%    /dev/fd
rpool/ROOT/solaris/var
                       109G   188M        78G     1%    /var
swap                   5.0G    92K       5.0G     1%    /tmp
rpool/export           109G    32K        78G     1%    /export
rpool/export/home      109G    32K        78G     1%    /export/home
rpool/export/home/me
                       109G    21G        78G    22%    /export/home/me
rpool                  109G    39K        78G     1%    /rpool
/export/home/me      99G    21G        78G    22%    /home/me
share                  2.0T   1.3T       740G    64%    /data
root@server:/$

Any advice would be really great. Cheers.
# 2  
Old 08-28-2012
This is one of the better writeups I have come across on your issue: ZFS on different sized disks.
This User Gave Thanks to fpmurphy For This Post:
# 3  
Old 08-29-2012
Hi fpmurphy,

I'd already read that one.....or so I thought.

Quote:
Note: There is one limitation with this structure. Ordering the disks in increasing size, disk(n) must be at least as big as 2*(disk(n-1))-disk(n-2).
My ordering was 2+2+0.75+1

I'm going to switch the disk out one at a time to get them in the correct ordering, leaving the 1tb one till the end so it doesn't expand.

I will let you know how I get on.

Cheers
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Wild char getting expanded in echo

Hi All, I am having a issue in a script. I am trying to execute a select * from a scirpt to a database and printing the the sql string. The * in the sqltring is printing all the files in the directory. How to handle it ? .. .. sql="select * from emp" execute ($sql) echo $sql Here my... (6 Replies)
Discussion started by: arunkumar_mca
6 Replies

2. UNIX for Beginners Questions & Answers

How the home alias (~) is it expanded?

echo $HOME return : /home/user1echo ~ return : /home/user1My_path=~/bin/"some dir1/some dir2" kate "$My_path/some_file"Kate open a file "~/~/bin/some dir1/some dir2/some_file" which does not exists. I was expecting kate to open : "~/bin/some dir1/some dir2/some_file" Any help is welcome. ... (8 Replies)
Discussion started by: jcdole
8 Replies

3. Filesystems, Disks and Memory

Removing a PV from a VG that hasn't been used

Hi all, So, I have the following setup: - Ubuntu 12,04 - 1 6TB physical volume (the one with data) - 1 13TB PV (no data... I think?) Here is the story... - I created an ext4 on the 13TB PV, added the 13TB to the VG to make a 13TB volume group. - Everything went fine and then I ran:... (3 Replies)
Discussion started by: hpimentel
3 Replies

4. Solaris

ZPOOL help..

hi ... i have added a physical disk to the pool with ""zpool add <poolname> diskname"""... after that i realized that i have to mirror it instead..then i tried to take that disk out of the pool but i m not able to do that.. i have gone through many unix help sites , nothing worked , so please... (6 Replies)
Discussion started by: yrajendergoud
6 Replies

5. Solaris

war file not expanded (tomcat solaris)

hi .. my example.war file is not expanded in the webapps folder.. could u guide me why the file is not expanded when i restart tomcat... (1 Reply)
Discussion started by: senkerth
1 Replies

6. Shell Programming and Scripting

List file with variables expanded

Hello, I have this problem. I have script file, e.g. #!/usr/bin/ksh echo $MY_DIR ls -lt $MY_DIR I want to list the script but with MY_DIR variable expanded. E.g. MY_DIR=/abc/xyz (in shell MY_DIR is set) So I want to list the script and see: #!/usr/bin/ksh echo /abc/xyz ls... (6 Replies)
Discussion started by: r1omen
6 Replies

7. UNIX for Advanced & Expert Users

Redirect contained in variable not expanded as expected

Hi all, I have a selection of files that contain several commands that write to a file and are started as background processes similar to below. command_to_run_simulator -simulator_arguments > log_file 2>&1 & command_to_run_simulator -simulator_arguments > log_file 2>&1 &... (2 Replies)
Discussion started by: noose
2 Replies

8. Programming

Macros expanded output of c files

Hi, I want to just expand the macros in a set of c files from a filelist which are in different directories. I don't want the header files included in the c file to be expanded. I have a perl script which does gcc -E <infile> -I <path to search for header files> -imacros <infile> But in... (1 Reply)
Discussion started by: spsenthil
1 Replies
Login or Register to Ask a Question