How to snapshot zfs volume

Hi All,
did anyone have expereience with ZFS volume snapshot and clone? what I am doing here is: create a zfs volume and present it as root disk to LDOM guest domain. I like to have the flexibility to snapshot and clone the volume before any maintenance. We have tested using image files already. We are comparing performance and maintenance complexity of using both image file and zfs volume.
Any suggestion is welcome.
Thanks,

Thanks! could you please provide more details? zfs snapshot of file system is straightforward. But to snapshot volumes (which underline are 0 & 1s), it does not seem to be that easy. FYI, the zfs volume is only partitioned inside guest domain. From ldom controller domain, prtvtoc shows only one slice. That means inside LDOM controller domain, this volume just looks like raw device.

Similar Messages

  • Using a ZFS volume with encryption on as the Virtual disk in a Sparc VM

    Hi guys,
    Working my way through understanding how virtualization works in VM for Sparc. One question I thought of deals with having encryption turned on in a ZFS volume. If I create a volume with encryption ON, and then attach that volume as the sole virtual disk in a guest domain, will the virtualization still work? Has anyone else dealt with a scenario like this? I'm about to try it now, I'll report back with my findings.

    From my understanding, if you create a ZFS disk with encryption ON, mount it on Solaris, and after that present that to the VM, you should not have problems. The encryption will work between the volume and Solaris. To the guest vm, it should be transparent.

  • Zfs volumes broken post os patching - spec_getpage called for character...

    Hello all,
    I have a T2000 (sol10 8/07), OBP 4.27.7, SUNWldm 1.0.1, zfs version 4 that post os patching (using the Sept 08 Recommended patch cluster) now cannot use zfs volumes as virtual disks. Files on zfs filesystems used for boot devices however work fine (ie the ZFS for boot disk setup as described in the admin guide). Whenever I try and "bind-domain" on a guest domain using a zfs volume I see the following in /var/adm/messages on the primary domain...
    Sep 3 15:16:56 isdsyddev13 specfs: [ID 853503 kern.notice] NOTICE: spec_getpage called for character device. Check any non-ON consolidation drivers
    Sep 3 15:16:59 isdsyddev13 last message repeated 25903 times
    syslog tail spins and chews up close to 100% of the cpu. The only way to recover the primary domain is to reboot it (and in some cases power cycle). On the system console I also see the following..
    message overflow on /dev/log minor #6 -- is syslogd(1M) running?
    NOTICE: spc_getpage called for character device. Check any non-ON onsolidation drivers
    A guest ldom config that contains use a zfs volume which kills things when you run bind-domain below..
    root@isdsyddev13# ldm ls -l itgsyddev11
    NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
    itgsyddev11 inactive ----- 4 4G
    VARIABLES
    auto-boot?=false
    boot-device=vdisk
    NETWORK
    NAME SERVICE DEVICE MAC
    vnet0 primary-vsw0 network@0 00:14:4f:f8:85:1c
    DISK
    NAME VOLUME TOUT DEVICE SERVER
    vdisk0 vol9@primary-vds0 disk@0
    vdisk1 vol2@primary-vds0 disk@1
    There is only one service domain (primary) and it runs the only virtual disk service. Entries for the above vdisks on the primary-vds0 are...
    vol2 /dev/zvol/rdsk/isdsyddev13zp_loc/itgsyddev11-optbmc2
    vol9 /isdsyddev13zp_loc/itgsyddev11/bootdisk-fullos
    subset of zfs output below. The os boot files are clones of a snapshot.
    root@isdsyddev13# zfs list
    NAME USED AVAIL REFER MOUNTPOINT
    isdsyddev13zp_loc 142G 53.5G 79.5K /isdsyddev13zp_loc
    isdsyddev13zp_loc/boot-images 20.0G 53.5G 20.0G /isdsyddev13zp_loc/boot-images
    isdsyddev13zp_loc/boot-images@initial 22.5K - 20.0G -
    isdsyddev13zp_loc/itgsyddev11 645M 53.5G 20.0G /isdsyddev13zp_loc/itgsyddev11
    isdsyddev13zp_loc/itgsyddev11-optbmc2 25.4G 58.0G 21.2G -
    isdsyddev13zp_loc/itgsyddev11-optbmc2@20080424 4.21G - 18.6G -
    Note that if I remove vdisk1 from the guest domain, bind-domain works fine, no issues. So this is an issue just with the zfs volumes used as virtual disks. I also created a new zfs volume, added it to the primary-vds0 and the guest domain. However on bind-domain, same error/issue.
    Patches applied from the patch run below...
    119812-06
    120272-21
    127959-02
    137017-03
    125166-11
    119783-06
    125184-07
    119254-57
    120222-28
    120222-29
    128306-05
    122911-13
    120292-02
    123590-09
    119313-21
    119059-44
    124630-17
    120410-29
    120094-21
    118712-22
    127737-02
    136892-01
    125539-04
    137019-02
    119042-11
    127922-04
    138159-01
    121004-04
    119090-26
    127853-02
    120830-06
    137032-01
    137093-01
    123611-04
    137871-01
    136998-04
    127755-01
    125891-01
    127127-11
    138068-01
    137289-02
    137111-03
    138291-01
    126133-04
    138075-02
    125551-02
    128342-01
    128000-01
    128294-02
    127884-01
    128328-01
    126206-04
    124393-06
    119757-12
    137321-01
    121095-02
    119810-05
    120543-11
    125378-05
    128300-03
    120201-05
    125719-12
    137080-01
    136882-01
    125731-02
    121308-12
    Any help appreciated.

    I am not using ldom version 1.0.3, I'm using version 1.0.1 as per the original post
    root@isdsyddev13# pkginfo -l SUNWldm
    PKGINST: SUNWldm
    NAME: Logical Domains Manager
    CATEGORY: application
    ARCH: sparc.sun4v
    VERSION: 1.0.1,REV=2007.08.23.10.20
    BASEDIR: /
    VENDOR: Sun Microsystems, Inc.
    PSTAMP: dt90-19120070823102022
    INSTDATE: Dec 10 2007 14:07
    STATUS: completely installed
    FILES: 38 installed pathnames
    6 shared pathnames
    12 directories
    23 executables
    20860 blocks used (approx)

  • LDOM 1.1 migration with boot disk on zfs volume

    I have a big disk and set up a few zfs volumes for guest domains.
    Have anybody successfully configure LDOM 1.1 to migrate guest domains
    between two hosts when guest domais are on zfs volumes.
    The two hosts shares the FC LUN through SAN.
    Any suggestions?
    cm

    Can you provide a working example of this? I fail to see any benefit of using files as bootdisks via NFS. It seems you will need a new bootdisk file (approx. 12g for our env.) for every ldom guest. First, how do you save storage space? Then, how do you manage additional storage devices for applications which require a small amount of additional disk space (say 50g)? If you use file allocation (mkfile on NFS allocated to an ldom) then you've gotten yourself into potentially disastrous performance issues (virtual guest storage -> virtual I/O management -> file -> NFS -> ZFS -> SAN Luns). The only solution to the problem as I see it is to use a clustered file system, which is not currently a viable option for the following reasons:
    1. Veritas CVM does not support Branded Zones in an ldom = we can't use it
    2. ZFS is not a cluster file system
    So, this begs the question, what is the "Best Practice" for setting up ldom environments (with migration ability) from a storage perspective? What is the Sun recommendation on this?

  • How to set up volume of lumia 535?

    How to set up volume of lumia 535?

    you want to reset audio volume in Lumia 535?
    hold power button and press volume down key until that phone vibrate, after that you can set volume back
    you can also try using headset to test
    regarding this question I suggest contact Windows phone support
    find support based on your location and language
    http://www.microsoft.com/en/mobile/support/locations/

  • How to config ZFS in solaris 10

    hi,
    I'm testing solaris 10 x86 edition in my PC. but i don't
    find any information about how to config ZFS in 10 (X86).. ;-(
    if anybody know it, pls.give me some information.
    thanks a lot.

    ZFS has not yet been integrated into Solaris 10...
    At this time you need either the "Software Express for Solaris 2/06"
    ( http://www.sun.com/software/solaris/solaris-express/ ) or the
    "Solaris Express: Community Release"
    ( http://www.opensolaris.org/os/downloads/on/ ) to play with ZFS.
    .

  • How do I increase volume significantly

    I have video I recorded on VHS tape from tv, transferred it to DVD, and onto my iMac, into iMovie. I want to upload these to YouTube, but the volume is very low. I know how to double the volume, but would like to still make it much higher. I suppose I could double it within Inspector, duplicate the project, and go through the same process to double it again (assuming that works), but is there an easier way?

    Another thing to try:
    Use Share/Export Using QuickTime.
    Select an audio only codec such as MP3 or AAC.
    Open the resulting file in GarageBand. You can increase the volume, but you will also be amplifying the noise, so maybe GB can help with this.
    Export from GB to iTunes..
    You can then drag the audio track back into your project from the music browser.

  • How to adjust call volume if side buttons don't work

    Hi.  The volume control buttons on the side of the phone no longer work so I'm wondering how to increase call volume now. I've increased the volume in the sounds section under settings but that doesn't help at all. Any suggestions?  Thanks in advance.

    contact sony xperia support as its a hardware issue.
    Sony Support
    http://support.sonymobile.com/global-en/contactUs/

  • Can i use any headphones into a 6th gen ipod nano? and how loud does the volume go without headphones? - maybe in comparison to an ipad?

    Can I use any headphone with a 6th gen ipod nano? How loud is the volume without headphones? - in comparison the the ipad

    Here's a selection:
    http://store.apple.com/us/browse/home/shop_ipod/ipod_accessories/headphones#m.ip odCompatibility=ipodnano

  • How can I get volume on my I6 to hear incoming calls . I went to setting , sounds, and selected a tone, but still no sound for incoming calls, texts, or other notifications.

    How can I get volume on my I6 to hear incoming calls . I went to setting , sounds, and selected a tone, but still no sound for incoming calls, texts, or other notifications.

    Hi rsample,
    Thank you for visiting Apple Support Communities.
    Your symptoms make it sound like the iPhone side switch is set to silent mode.
    iOS: Understanding sounds, ringtones, and alerts
    Set your device to silent mode
    iPhone: Toggle the Ring/Silent switch on the side of the device.
    Best Regards,
    Nubz

  • Add zfs volume to Solaris 8 branded zone

    Hi,
    I need to add a zfs volume to a Solaris 8 branded zone.
    Basically ive created the zvol and added the following to the zone configuration.
    # zonecfg -z test
    zonecfg:test> add device
    zonecfg:test:device> set match=/dev/zvol/dsk/sol8/vol
    zonecfg:test:device> end
    When I boot the zone it comes up ok but I am unable to see the device, nothing in format, /dev/dsk etc etc
    Ive also tried to setmatch to the raw device as well to no avail.
    Basically I have numerous zvols to add and dont really want a load of mount points from the global zone then lofs back to the local zone
    Any ideas please??
    Thanks...

    Thanks but that's why I created zfs volumes and newfs'ed them to create UFS and presented those to the zone.
    In the end I just create a script in /etc/rc2.d and mounted the filesystems in there.

  • How to raise ringer volume

    How to raise ringer volume on Samsung S4 mini

    When you are on the main home screen press the volume button up (located on left side)

  • How to show the volume in a Meter?

    Hello,
    I m newbie in programming in java sound,
    And i would like to know how to show the volume from a recording in real time in a meter? I allready have the meter but now i don´t know how to pass the volume and show in the meter.
    Somebody can help me?
    Thanks

    844429 wrote:
    ..And i would like to know how to show the volume from a recording in real time.. It can never be truly 'real time' since the calculations require a 'chunk' of sound samples to produce a value. The shorter the chunk, the more arbitrary the value, but the more 'real time' it seems.
    ..in a meter? I allready have the meter.. (chuckle) That is the easy part.
    ..but now i don´t know how to pass the volume and show in the meter.In what units? dB, RMS, tuna? I did an RMS calculation for the left/right channels of a more complex audio trace. RMS is relatively easy to calculate. E.G.
    /** Computes the RMS volume of a group of signal sizes ranging from -1 to 1. */
    public double volumeRMS(double[] raw) {
        double sum = 0d;
        if (raw.length==0) {
            return sum;
        } else {
            for (int ii=0; ii<raw.length; ii++) {
                sum += raw[ii];
        double average = sum/raw.length;
        double[] meanSquare = new double[raw.length];
        double sumMeanSquare = 0d;
        for (int ii=0; ii<raw.length; ii++) {
            sumMeanSquare += Math.pow(raw[ii]-average,2d);
            meanSquare[ii] = sumMeanSquare;
        double averageMeanSquare = sumMeanSquare/raw.length;
        double rootMeanSquare = Math.pow(averageMeanSquare,0.5d);
        return rootMeanSquare;
    }Of course, you will need to get directly into the sound data streams then convert the signal to PCM, split the channels and scale the values to a range of -1 to 1 to use that exact method shown. ;)

  • How to fix no volume on headset???

    how to fix no volume on headset??

    Have you tried a hard reset? Hold the home and top buttons down at the same time until the Apple logo shows.

  • Oracle ASM on top of ZFS volumes

    What kind of overhead is involved if we configure Oracle ASM on top of ZFS volumes? Has anyone performed benchmarks using this scheme?

    I've not done it personally with DNFS but I have created a multitude of clusters with NetApp on their NFS file system without ever having an issue other than saving a lot of money.

Maybe you are looking for

  • How to install Archlinux use wingrub??

    I once installed some linux distributions using wingrub. These just only need *.iso, initrd and vmlinuz 3 files. When reboot system use wingrub, use these commands to boot the installation: grub>kernel (hd0,0)/vmlinuz root=/dev/ram ramdisk_size=20000

  • How to get an iPhone app to implement A2DP?

    I use a Plantronics Voyager Pro BT headset, and just found out the hard way that it doesn't support A2DP, so I cannot hear any iPhone audio on it other than phone calls. I understand that there is an app for jailbroken phones (Bluetooth Mono for iPho

  • Run a form 10g

    Hi! I'm trying to run a form from developer suite 10g, but it's my first time with this version and I don't know how I can run it using the browser. I have runned the instance corresponding, but when I run my form there is this error message: "Imposs

  • Help on Oracle Support / customer on msg customization Q

    latest discussed on [oracle internal forum|http://myforums.oracle.com/jive3/thread.jspa?messageID=6637259] : - Customer is looking to implement new messages in their Fusion HCM application (Warning type of messages). First they want to know if this i

  • Ipod crashing and not able to display in i-tunes - help needed please

    After synch, i-tunes said disconnect but ipod still flashing not too and continued so had to disconnect after bout an hour! Now ipod not recognised in itunes. Have run ipod diagnostic check from i-tunes and everything on green saying it connected pro