Visit Our UNIX and Linux User Community


ZFS snapshot issue.


 
Thread Tools Search this Thread
Operating Systems Solaris ZFS snapshot issue.
# 1  
Old 11-06-2009
ZFS snapshot issue.

I 've a weired situation .. my system has zfs root as its file system and now root file system is full at 100%

Code:
# zfs list
NAME                                     USED  AVAIL  REFER  MOUNTPOINT
rpool                                       134G  65.2M    94K  /rpool
rpool/ROOT                              29.8G  65.2M    18K  legacy
rpool/ROOT/s10s_u6                  29.8G  65.2M    22.34G  /
rpool/ROOT/s10s_u6@prepatch    7.7G      -        22.3G  -
rpool/dump                               4.00G  65.2M   4.00G  -
rpool/metadb                              10M  67.2M   8.05M  -
rpool/metadb1                             10M  67.2M  8.05M  -
rpool/swap                               100G   100G    16K  -

Code:
# df -h /
Filesystem             size   used  avail capacity  Mounted on
rpool/ROOT/s10s_u6
                       134G    21G    65M   100%    /

now if i delete something from the / directory it does not free up any space as the freed up space is taken by the modified snapshot. I want to keep my snapshot and decrease the usage too .. how shuld it do that ?
# 2  
Old 11-06-2009
That's contradictory, you tell you want to delete data to free space but on the other hand, you want to keep that same data (in the snapshot).

To free space, you can send that snapshot to an external storage and destroy it when done.

Alternatively, you can enable compression on existing filesystems but the effect won't be immediate.

Previous Thread | Next Thread
Test Your Knowledge in Computers #754
Difficulty: Medium
EEPROM stands for electronic erasable programmable read-only memory.
True or False?

6 More Discussions You Might Find Interesting

1. Solaris

How do I mount a ZFS snapshot?

I created a zpool and in it there is a zfs volume. I used that to backup data on another server using ISCSI. Now I have the data and want to take a snapshot so that I can view it on another machine that is not in production. Here is what I have done # zfs snapshot mat/vol_1@snap1 # zfs list -t... (6 Replies)
Discussion started by: SIFT3R
6 Replies

2. Solaris

zfs - get the name of the last snapshot

I have installed Solaris 11 Express on my server and want to set up automatic backuping using zfs snapshots. In the backup script I need to find out the name of the last snapshot of the given filesystem (in order to refer to it as the startpoint of an incremental backup). What is the best way to do... (4 Replies)
Discussion started by: RychnD
4 Replies

3. Solaris

Emergency - restore a deleted zfs snapshot

Hi, I deleted a zfs snapshot because it was as big as the original zfs. After the snapshot was removed, all the data in the original zfs is gone. How this happened? Can I restore the snapshot? Please help. Thanks a lot! (5 Replies)
Discussion started by: aixlover
5 Replies

4. Solaris

ZFS snapshot query

I saved one of my zfs snapshot on the remote machine with following command. And now i want to restore the same snapshot to original server how can i receive it on the original server from backup server. #zfs send rpool/ROOT/sol10_patched@preConfig | ssh x.x.x.x zfs receive... (1 Reply)
Discussion started by: fugitive
1 Replies

5. Solaris

Need to take snapshot in solaris (using ZFS or ....)

Hi, I am working on Network Management Software product. This is supported both windows and solaris platform. I need to take the snapshot of the solaris server ( which installed our product), like vmware in windows. I think using ZFS files system, we can take the snapshot in solaris 10 but... (2 Replies)
Discussion started by: mgmk.84
2 Replies

6. UNIX for Advanced & Expert Users

Need to take snapshot in solaris (using ZFS or ....)

Hi, I am working on Network Management Software product. This is supported both windows and solaris platform. I need to take the snapshot of the solaris server ( which installed our product), like vmware in windows. I think using ZFS files system, we can take the snapshot in solaris... (1 Reply)
Discussion started by: mgmk.84
1 Replies

Featured Tech Videos