06-07-2013
Quote:
Originally Posted by
cbtshare
So basically what your saying is that I cannot create a partition and then assign that partition to a zpool?
That's not what I wrote. You certainly can create partitions and have zpools using then as underlying devices if you think that's the best solution for you.
Quote:
I know I can create filesystems in my zpool and assign SMB or NFS to it, but that is easy.
What's wrong with "easy" ??
Quote:
I want to create partitions and then assign respective partitions to different zpools, then create filesystems.
You can do that, although that would be suboptimal (less flexibility, less performance).
Quote:
Ok, well after some testing it seems like partitions cannot be used to create zpools, only disk.
This is incorrect.
You can create zpools from whole disks, primary and extended partitions, slices and plain files.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello!
I recently inherited system administration duties for a SUN v880 box. The system has 6 physical hard disks.. In doing some basic maintenance, I found they're configured for mirroring. I ran the metastat and metadb commands, and many of the mirrors are showing they are in need of... (5 Replies)
Discussion started by: ghuber
5 Replies
2. AIX
Hi, I have a AIX 4.3 box here with problems cause of a disk in below VG.
volume group: workvg
lspv
hdisk4 000166789869ab2d workvg
hdisk5 000166789869b96b workvg
now hdisk4 disk has failed and cause the quorum was set, workvg became varied off.
I have to replace the... (2 Replies)
Discussion started by: karthikosu
2 Replies
3. Solaris
Hello,
I am trying to do mirror in solaris 9. I have total 0-7 disks
4 5 6 7
0 1 2 3
Drive 0 and Drive 4 = Boot Drives
Need to Mirror following drives.
Drive 1 and Drive 5 = Need to mirror
Drive 1 was mounted on: /prod1, /prod2, /prod3, /prod4, /prod5.
Then i... (3 Replies)
Discussion started by: deal732
3 Replies
4. UNIX for Advanced & Expert Users
hi guys,
I've got a strange issue, may be one of you has experienced this.
SunOS 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V440
everything is mirrored.
My issue is that I have a umpty directory but seems to have data on. Let me show you
# df -h /data
Filesystem size used... (10 Replies)
Discussion started by: moustik
10 Replies
5. AIX
We have a filesystem which contains 8 hard disks but i am facing disk I/O issue becuase data is not spreading across all the disks.Is there any way i can check how data is spreading and any parameter we need to change to spread ata across all disks.
OS--AIX 5.3 (3 Replies)
Discussion started by: ukatru
3 Replies
6. Solaris
Need a procedure document to do "root disk mirroring in solaris volume manager for solaris 10". I hope some one will help me asap. I need to do it production environment.
Let me know if you need any deatils on this.
Thanks,
Rama (1 Reply)
Discussion started by: ramareddi16
1 Replies
7. Solaris
Hi all,
I guess most of you have seen this error message while installing Solaris 10 on an x86 platform. I got the error message while installing from DVD ISO on my home VMWare ESXi server.
It took me a long time to figure the exact issue and a subsequent solution. the solution is very... (1 Reply)
Discussion started by: admin_xor
1 Replies
8. Solaris
I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below:
root@moneta # df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 9.8G 513M 9.3G 6% /
... (0 Replies)
Discussion started by: fretagi
0 Replies
9. Solaris
I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below:
root@moneta # df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 9.8G 513M 9.3G 6% /... (4 Replies)
Discussion started by: fretagi
4 Replies
10. Solaris
Hello all,
Our Solaris 9? Sun Fire 480R backup server(in another city) is throwing disk errors such as these repeatedly.
WARNING: vxvm:vxio: Subdisk rootdisk-02 block 24037056: Uncorrectable read error
WARNING: vxvm:vxio: Subdisk rootdisk-02 block 7767072: Uncorrectable write error
... (18 Replies)
Discussion started by: RyanV
18 Replies
LEARN ABOUT SUSE
virt-list-partitions
virt-list-partitions(1) Virtualization Support virt-list-partitions(1)
NAME
virt-list-partitions - List partitions in a virtual machine or disk image
SYNOPSIS
virt-list-partitions [--options] domname
virt-list-partitions [--options] disk.img [disk.img ...]
OBSOLETE
This tool is obsolete. Use virt-filesystems(1) as a more flexible replacement.
DESCRIPTION
"virt-list-partitions" is a command line tool to list the partitions that are contained in a virtual machine or disk image. It is mainly
useful as a first step to using virt-resize(1).
"virt-list-partitions" is just a simple wrapper around libguestfs(3) functionality. For more complex cases you should look at the
guestfish(1) tool.
OPTIONS
--help
Display brief help.
--version
Display version number and exit.
-c URI
--connect URI
If using libvirt, connect to the given URI. If omitted, then we connect to the default libvirt hypervisor.
If you specify guest block devices directly, then libvirt is not used at all.
--format raw
Specify the format of disk images given on the command line. If this is omitted then the format is autodetected from the content of
the disk image.
If disk images are requested from libvirt, then this program asks libvirt for this information. In this case, the value of the format
parameter is ignored.
If working with untrusted raw-format guest disk images, you should ensure the format is always specified.
-h
--human-readable
Show sizes in human-readable form (eg. "1G").
-l
--long
With this option, "virt-list-partitions" displays the type and size of each partition too (where "type" means "ext3", "pv" etc.)
-t
--total
Display the total size of each block device (as a separate row or rows).
SHELL QUOTING
Libvirt guest names can contain arbitrary characters, some of which have meaning to the shell such as "#" and space. You may need to quote
or escape these characters on the command line. See the shell manual page sh(1) for details.
SEE ALSO
guestfs(3), guestfish(1), virt-filesystems(1), virt-list-filesystems(1), virt-resize(1), Sys::Guestfs(3), Sys::Guestfs::Lib(3),
Sys::Virt(3), <http://libguestfs.org/>.
AUTHOR
Richard W.M. Jones <http://people.redhat.com/~rjones/>
COPYRIGHT
Copyright (C) 2009-2012 Red Hat Inc.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
libguestfs-1.18.1 2013-12-07 virt-list-partitions(1)