Displaying 20 results from an estimated 10000 matches similar to: "Using O_EXCL flag on /dev/zvol nodes"
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
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
2009 Feb 12
4
Two zvol devices one volume?
Hi,
Can anyone explain the following to me?
Two zpool devices points at the same data, I was installing osol
2008.11 in xVM when I saw that there already was a partition on the
installation disk. An old dataset that I deleted since i gave it a
slightly different name than I intended is not removed under /dev. I
should not have used that name, but two device links should perhaps
not
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
2008 Feb 07
0
getting and setting properties on zvols from kernel
Hi
Is there an interface to get/set properties for a zvol (given its /dev/ pathname) from the solaris kernel ? Also is there a way to register callbacks to get notified in a kernel module when a property changes for a zvol ?
Thanks
Sumit
--
This messages posted from opensolaris.org
2009 Apr 02
2
FLAG DAY: vdiskadm translate
I''ve just pushed vdiskadm translate to the 3.3 vdisk repo.
You can now translate data from one virtual disk data
type to another without creating a virtual disk.
This allows the user to use a vmdk file and directly
translate the data into a zvol without having to import
it first to a vdisk and then export it to the zvol.
# vdiskadm help translate
translate - translate virtual disk data
2009 Mar 30
4
FLAG DAY: vdiskadm import/export/convert
I''ve just pushed vdiskadm import/export/convert to the
3.3 vdisk and vbox repos.
You can now import a disk image from a block device or file
to a vdisk, convert (in place) to a different type
of vdisk and export from a vdisk to a block device or file.
I''ve also pushed the full vhd support (sparse and fixed) and
the ability to import a vmdk 1.1 optimized stream file. An
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
2008 Oct 16
1
attaching 2nd vol unsupported?
Hi,
im trying to attach another volume aka disk to win HVM, however it
doesn''t seem to work:
+ xm block-attach win2008ss phy:/dev/zvol/dsk/pool1/win2008ss.dsk2 \
hdd:disk w 0
results in:
elkner.sol ~ > + xm block-list win2008ss --long
(0
(vbd
(uuid 7cb8fadf-619d-dde6-bda9-dcc18023c7d5)
(bootable 1)
(devid 768)
(driver paravirtualised)
2008 Jul 14
5
linux kickstart for domU with a SXCE b90 dom0
Hi All:
Using the following line, I am trying to install Scientific Linux (a
RHEL derivative like CentOS), but the installer never sees my kickstart
file :
virt-install -n test-dev1 --ram=1024 --vcpus=2
--file=/dev/zvol/dsk/zfs_pool/xen/lss-kickstart1/root \
--file=/dev/zvol/dsk/zfs_pool/xen/lss-kickstart1/swap \
--file=/dev/zvol/dsk/zfs_pool/xen/lss-kickstart1/nfs \
--accelerate
2008 Sep 25
4
Help with b97 HVM zvol-backed DomU disk performance
Hi Folks,
I was wondering if anyone has an pointers/suggestions on how I might increase disk performance of a HVM zvol-backed DomU? - this is my first DomU, so hopefully its something obvious
Running bonnie++ shows the DomU''s performance to be 3 orders of magnitude worse than Dom0''s, which itself is half as good as when not running xVM at all (see bottom for bonnie++ results)
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
2009 Nov 03
3
virsh troubling zfs!?
Hi and hello,
I have a problem confusing me. I hope someone can help me with it.
I followed a "best practise" - I think - using dedicated zfs filesystems for my virtual machines.
Commands (for completion):
[i]zfs create rpool/vms[/i]
[i]zfs create rpool/vms/vm1[/i]
[i] zfs create -V 10G rpool/vms/vm1/vm1-dsk[/i]
This command creates the file system [i]/rpool/vms/vm1/vm1-dsk[/i] and the
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
2002 Jun 17
1
O_EXCL unreliable?
Hi all,
I fear I can't rely on "open (path, O_CREAT | O_EXCL)" behaviour
on samba share.
The libc's doc says:
If both `O_CREAT' and `O_EXCL' are set, then `open' fails
if the specified file already exists. This is guaranteed
to never clobber an existing file.
But this isn't probably true on network filesystems. When I run
this tiny program on
2008 Feb 20
12
no luck with Xen....
Perhaps someone has ideas on this topic, a recent attempt to play with Xen was a reather unlucky event, all what I will be able to demonstrate on that system is a PV ONNV domU which
ikely will not be very attractive to the audience :(
HW: U40M2, 2 x 2 core AMD revF procs, 8GB MEM, Phonix BIOS 1.5 (latest)
1 x 200GB internal SATA drive
SW: dom0 ONNV build 82, latest VirtManager from
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 Sep 19
2
[Fwd: Shared Storage in xVM Opensolaris build 122]
Hi,
I double checked the configuration with xm and the "w!" option seems to
be configured :-(
I also upgraded to build 123, but also no change in behaviour. Thus is
this a RAC 11.2
problem or is there a general problem using zvols as as shared disks for
xVM domains ?
(device
(vbd
(protocol x86_64-abi)
(uuid 048d282d-da4c-2e0b-b9f4-f3f4cc0811c7)
2013 Nov 22
1
FreeBSD 10-BETA3 - zfs clone of zvol snapshot is not created
Hi,
am I doing something wrong, ZFS does not support that or there is a bug that zvol clone does not show up under /dev/zvol after creating it from other zvol snapshot?
# zfs list -t all | grep local
local 136G 76.8G 144K none
local/home 117G 76.8G 117G /home
local/vm 18.4G 76.8G 144K
2007 Jan 26
10
UFS on zvol: volblocksize and maxcontig
Hi all!
First off, if this has been discussed, please point me in that
direction. I have searched high and low and really can''t find much info
on the subject.
We have a large-ish (200gb) UFS file system on a Sun Enterprise 250 that
is being shared with samba (lots of files, mostly random IO). OS is
Solaris 10u3. Disk set is 7x36gb 10k scsi, 4 internal 3 external.
For several