Displaying 20 results from an estimated 30000 matches similar to: "getting and setting properties on zvols from kernel"
2008 May 14
0
Using O_EXCL flag on /dev/zvol nodes
The /dev/[r]dsk nodes implement the O_EXCL flag. If a node is opened using the O_EXCL, subsequent open(2) to that node fail. But I dont think the same is true for /dev/zvol/[r]dsk nodes. Is that a bug (or maybe RFE) ?
Thanks
Sumit
--
This messages posted from opensolaris.org
2007 Aug 23
1
EOF broken on zvol raw devices?
> I tried to copy a 8GB Xen domU disk image from a zvol device
> to an image file on an ufs filesystem, and was surprised that
> reading from the zvol character device doesn''t detect "EOF".
>
> On snv_66 (sparc) and snv_73 (x86) I can reproduce it, like this:
>
> # zfs create -V 1440k tank/floppy-img
>
> # dd if=/dev/zvol/dsk/tank/floppy-img
2007 Mar 15
1
Stale comment in zvol.c.
ZVOL was recently converted to use range locking, but it seems the
comment below wasn''t updated:
/*
* There must be no buffer changes when doing a dmu_sync()
* because
* we can''t change the data whilst calculating the checksum.
* A better approach than a per zvol rwlock would be to lock
* ranges.
*/
--
Pawel Jakub Dawidek http://www.wheel.pl
2007 Sep 11
4
ext3 on zvols journal performance pathologies?
I''ve been seeing read and write performance pathologies with Linux
ext3 over iSCSI to zvols, especially with small writes. Does running
a journalled filesystem to a zvol turn the block storage into swiss
cheese? I am considering serving ext3 journals (and possibly swap
too) off a raw, hardware-mirrored device. Before I do (and I''ll
write up any results) I''d like to know
2008 Apr 12
5
ZVOL access permissions?
How can I set up a ZVOL that''s accessible by non-root users, too? The intent is to use sparse ZVOLs as raw disks in virtualization (reducing overhead compared to file-based virtual volumes).
Thanks,
-mg
This message posted from opensolaris.org
2006 Sep 06
2
creating zvols in a non-global zone (or ''Doctor, it hurts when I do this'')
A colleague just asked if zfs delegation worked with zvols too.
Thought I''d give it a go and got myself in a mess
(tank/linkfixer is the delegated dataset):
root at non-global / # zfs create -V 500M tank/linkfixer/foo
cannot create device links for ''tank/linkfixer/foo'': permission denied
cannot create ''tank/linkfixer/foo'': permission denied
Ok, so
2009 Dec 31
6
zvol (slow) vs file (fast) performance snv_130
Hello,
I was doing performance testing, validating zvol performance in particularly, and found that zvol write performance to be slow ~35-44MB/s at 1MB blocksize writes. I then tested the underlying zfs file system with the same test and got 121MB/s. Is there any way to fix this? I really would like to have compatible performance between the zfs filesystem and the zfs zvols.
# first test is a
2006 Oct 31
3
zfs: zvols minor #''s changing and causing probs w/ volumes
Team,
**Please respond to me and my coworker listed in the Cc, since neither
one of us are on this alias**
QUICK PROBLEM DESCRIPTION:
Cu created a dataset which contains all the zvols for a particular
zone. The zone is then given access to all the zvols in the dataset
using a match statement in the zoneconfig (see long problem description
for details). After the initial boot of the zone
2009 Mar 09
1
Other zvols for swap and dump?
Can you use a different zvol for dump and swap rather than using the swap
and dump zvol created by liveupgrade?
Casper
2009 Sep 10
3
zfs send of a cloned zvol
Hi,
I have a question, let''s say I have a zvol named vol1 which is a clone of a snapshot of another zvol (its origin property is tank/myvol at mysnap).
If I send this zvol to a different zpool through a zfs send does it send the origin too that is, does an automatic promotion happen or do I end up whith a broken zvol?
Best regards.
Maurilio.
--
This message posted from
2009 Jun 16
3
Adding zvols to a DomU
I''m trying to add extra zvols to a Solaris10 DomU, sv_113 Dom0
I can use
virsh attach-disk <name> <zvol> hdb --device phy
to attach the zvol as c0d1. Replacing hdb by hdd gives me c1d1 but then
that is it. Being able to attach several more zvols would be nice but even
being able to get at c1d0 would be useful
Am I missing something or can I only attach to hda/hdb/hdd?
2011 Jul 10
3
How create a FAT filesystem on a zvol?
The `lofiadm'' man page describes how to export a file as a block
device and then use `mkfs -F pcfs'' to create a FAT filesystem on it.
Can''t I do the same thing by first creating a zvol and then creating
a FAT filesystem on it? Nothing I''ve tried seems to work. Isn''t the
zvol just another block device?
--
-Gary Mills- -Unix Group-
2009 Mar 31
3
Bad SWAP performance from zvol
I''ve upgraded my system from ufs to zfs (root pool).
By default, it creates a zvol for dump and swap.
It''s a 4GB Ultra-45 and every late night/morning I run a job which takes
around 2GB of memory.
With a zvol swap, the system becomes unusable and the Sun Ray client often
goes into "26B".
So I removed the zvol swap and now I have a standard swap partition.
The
2010 Jun 29
0
Processes hang in /dev/zvol/dsk/poolname
After multiple power outages caused by storms coming through, I can no
longer access /dev/zvol/dsk/poolname, which are hold l2arc and slog devices
in another pool I don''t think this is related, since I the pools are ofline
pending access to the volumes.
I tried running find /dev/zvol/dsk/poolname -type f and here is the stack,
hopefully this someone a hint at what the issue is, I have
2007 Oct 18
2
characterizing I/O on a per zvol basis.
Hey all -
Time for my silly question of the day, and before I bust out vi and
dtrace...
If there a simple, existing way I can observe the read / write / IOPS on
a per-zvol basis?
If not, is there interest in having one?
Cheers!
Nathan.
2007 Apr 28
4
What tags are supported on a zvol?
I assume that a zvol has a vtoc. What tags are supported?
Thanks,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20070427/57e1a64f/attachment.html>
2009 Oct 17
3
zvol used apparently greater than volsize for sparse volume
What does it mean for the reported value of a zvol volsize to be
less than the product of used and compressratio?
For example,
# zfs get -p all home1/home1mm01
NAME PROPERTY VALUE SOURCE
home1/home1mm01 type volume -
home1/home1mm01 creation 1254440045 -
home1/home1mm01 used 14902492672
2010 Jan 31
5
server hang with compression on, ping timeouts from remote machine
Hello All,
I am running NTFS over iSCSI on a ZFS ZVOL volume with compression=gzip-9 and blocksize=8K. The server is 2 core P4 3.0 Ghz with 5 GB of RAM.
Whenever I start copying files from Windows onto the ZFS disk, after about 100-200 Mb been copied the server starts to experience freezes. I have iostat running, which freezes as well. Even pings on both of the network adapters are reporting
2009 Jun 02
0
zfs - zvol as a metadb repository..
This looks like the same issue as:
6829176 dd w/ large block size fails on a zvol''s character device
(metadb usesthe character interface even if you specify the
block one).
- Eric
--
This message posted from opensolaris.org
2007 Jun 19
0
Re: [storage-discuss] Performance expectations of iscsi targets?
Paul,
> While testing iscsi targets exported from thumpers via 10GbE and
> imported 10GbE on T2000s I am not seeing the throughput I expect,
> and more importantly there is a tremendous amount of read IO
> happending on a purely sequential write workload. (Note all systems
> have Sun 10GbE cards and are running Nevada b65.)
The read IO activity you are seeing is a direct