10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have installed FreeBSD onto a raw image file using QEMU Emulator successfully. I have formatted the image file using the ZFS file system (ZFS POOL).
Using the following commands below I have successfully mounted the image file ready to be opened by zpool
sudo losetup /dev/loop0 .img sudo... (1 Reply)
Discussion started by: alphatron150
1 Replies
2. Solaris
I have a newly created zpool, and I have set compression on, for the whole pool:
# zfs set compression=on newPool
Now I have zfs send | zfs receive lot of snapshots to my newPool, but the compression is gone. I was hoping that I would be able to send snapshots to the new pool (which is... (0 Replies)
Discussion started by: kebabbert
0 Replies
3. Solaris
I messed up my pool by doing zfs send...recive So I got the following :
zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
rpool 928G 17.3G 911G 1% 1.00x ONLINE -
tank1 928G 35.8G 892G 3% 1.00x ONLINE -
So I have "tank1" pool.
zfs get all... (8 Replies)
Discussion started by: eladgrs
8 Replies
4. Solaris
installed Solaris 11 Express on my server machine a while ago. I created a Z2 RAID over five HDDs and created a few ZFS filesystems on it.
Once I (unintentionally) managed to fill the pool completely with data and (to my surprise) the filesystems stopped working - I could not read/delete any... (3 Replies)
Discussion started by: RychnD
3 Replies
5. Solaris
Other than export/import, is there a cleaner way to rename a pool without unmounting de FS?
Something like, say "zpool rename a b"?
Thanks. (2 Replies)
Discussion started by: verdepollo
2 Replies
6. Solaris
I need to migrate an existing raidz pool to a new raidz pool with larger disks. I need the mount points and attributes to migrate as well. What is the best procedure to accomplish this. The current pool is 6x36GB disks 202GB capacity and I am migrating to 5x 72GB disks 340GB capacity. (2 Replies)
Discussion started by: jac
2 Replies
7. Solaris
Hi guys,
We had created a pool as follows:
zpool create filing_pool raidz c1t2d0 c1t3d0 ........
Due to some requirement, we need to destroy the pool and re-create another one. We wish to know now which disks have been included in the filing_pool, how do we list the disks used to create... (2 Replies)
Discussion started by: frum
2 Replies
8. Solaris
I created a pool the other day. I created a 10 gig files just for a test, then deleted it.
I proceeded to create a few files systems. But for some reason the pool shows 10% full, but the files systems are both at 1%? Both files systems share the same pool.
When I ls -al the pool I just... (6 Replies)
Discussion started by: mrlayance
6 Replies
9. Infrastructure Monitoring
Here are the details.
cnjr-opennms>root$ zfs list
NAME USED AVAIL REFER MOUNTPOINT
openpool 20.6G 46.3G 35.5K /openpool
openpool/ROOT 15.4G 46.3G 18K legacy
openpool/ROOT/rds 15.4G 46.3G 15.3G /
openpool/ROOT/rds/var 102M ... (3 Replies)
Discussion started by: pupp
3 Replies
10. Solaris
Hi all
I plan to install Solaris 10U6 on some SPARC server using ZFS as root pool, whereas I would like to keep the current setup done by VxVM:
- 2 internal disks: c0t0d0 and c0t1d0
- bootable root-volume (mirrored, both disks)
- 1 non-mirrored swap slice
- 1 non-mirrored slices for Live... (1 Reply)
Discussion started by: blicki
1 Replies
poolbind(1M) poolbind(1M)
NAME
poolbind - bind processes, tasks, or projects or query binding of processes to resource pools
SYNOPSIS
/usr/sbin/poolbind -p poolname [ -i idtype] id...
/usr/sbin/poolbind -q pid...
/usr/sbin/poolbind -Q pid...
The poolbind command allows an authorized user to bind zones, projects, tasks, and processes to pools. It can also allow a user to query a
process to determine which pool the process is bound to.
The following options are supported:
-i idtype
This option, together with the idlist arguments, specifies one or more processes to which the poolbind command is to apply. The inter-
pretation of idlist depends on the value of idtype. The valid idtype arguments and corresponding interpretations of idlist are as fol-
lows:
pid
idlist is a list of process IDs. Binds the specified processes to the specified pool. This is the default behavior if no idtype is
specified.
taskid
idlist is a list of task IDs. Bind all processes within the list of task IDs to the specified pool.
projid
idlist is a list of project IDs. Bind all processes within the list of projects to the specified pool. Each project ID can be spec-
ified as either a project name or a numerical project ID. See project(4).
zoneid
idlist is a list of zone IDs. Bind all processes within the list of zones to the specified pool. Each zone ID can be specified as
either a zone name or a numerical zone ID. See zones(5).
-p poolname
Specifies the name of a pool to which the specified zone, project, tasks, or processes are to be bound.
-q pid ...
Queries the pool bindings for a given list of process IDs. If the collection of resources associated with the process does not corre-
spond to any currently existing pool, or if there are multiple pools with the set of resources that the process is bound to, the query
fails for that particular process ID.
-Q pid ...
Queries the resource bindings for a given list of process IDs. The resource bindings are each reported on a separate line.
Example 1: Binding All Processes
The following command binds all processes in projects 5 and 7 to the pool web_app:
example# /usr/sbin/poolbind -p web_app -i projid 5 7
Example 2: Binding the Running Shell
The following command binds the running shell to the pool web_app:
example# /usr/sbin/poolbind -p web_app $$
Example 3: Querying the Pool Bindings
The following command queries the bindings to verify that the shell is bound to the given pool:
example# /usr/sbin/poolbind -q $$
Example 4: Querying the Resource Bindings
The following command queries the bindings to verify that the shell is bound to the given resources:
example# /usr/sbin/poolbind -Q $$
The following exit values are returned:
0 Successful completion.
1 Requested operation could not be completed.
2 Invalid command line options were specified.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWpool |
+-----------------------------+-----------------------------+
|Interface Stability | See below. |
+-----------------------------+-----------------------------+
The invocation is Evolving. The output is Unstable.
pooladm(1M), poolcfg(1M), libpool(3LIB), project(4), attributes(5), zones(5)
System Administration Guide: N1 Grid Containers, Resource Management, and Solaris Zones
3 Feb 2005 poolbind(1M)