Berkeley CSUA MOTD:Entry 52129
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2024/11/23 [General] UID:1000 Activity:popular
11/23   

2008/11/29-12/6 [Computer/SW/OS/FreeBSD, Computer/SW/OS/VM] UID:52129 Activity:moderate
11/29   I'm experimenting with virtualization, and as a poor college student
        I'm wondering what the best alternatives for virtualization are, and
        how best to cut my teeth on messing with non-linux platforms (or I
        guess interesting stuff on Linux would work too). Right now I've got
        FreeBSD7 running on KVM on my home computer (on a Core 2 Quad), and am
        somewhat at a loss as to how to use it. (More details: bridged
        networking, disk is a 8GB partition software raid1'ed over 3 disks).
        In any case, KVM seems to just 'work', but as the CSUA is planning to
        offer VMs soon, I'd like to know if there are better alternatives,
        particularly considering that when I put my computer to sleep without
        shutting down the guest OS, the computer wouldn't start back up, I had
        to cold-boot, and the disk image got corrupted. From what I hear,
        VMWare's offering is solid, but the useful administration software is
        thousands of dollars. Ideally, free software or something sustainable
        without repeated donations of software, and easy to administrate would
        be best. Does anyone have suggestions? --toulouse
        \_ At my job, we use Vmware 2.0.  it is free.  i run vms.  there
           are graphical admin tools.  I could buy Vmware ESX, which gets
           me I guess better admin tools, better performance vmotion and fail
           over.
        \_ Someone here works at VMWare and was recruiting 2 years ago.
           Calling the VMWare guy! We need a free educational license!
           Oh well, he's probably not going to respond until Monday.
           Us old farts have kids and family things to go on weekends.
           Oh, try this. And yes we use VMWare in our company and it
           is really great. You can get snapshots of the machine, run
           multiple instances on a single machine (since most machines
           are underutilized). Our production servers are also in
           VMWare for superior bug isolation and debuggability:
           http://www.vmware.com/partners/academic
           \_ What, you mean CSUA alums have lives? Unthinkable! --toulouse
           \_ Isn't VMWare Server free?  That's what we use in our company.
              --- !OP
              \_ I don't recall the details, but while the server itself is
                 free, I think the administration interface is expensive.
                 Feel free to correct me on this. --toulouse
        \_ Here's the deal.  Vmware has two products.  The Free Version
           (Vmware 2.0) , and Vmware Server ESX ( not free. lots of $$$$ ).
           ESX is a different codebase than Vmware 2.0 free.  With ESX,
           you get better performance, better GUI tools, failover capability,
           and the ability to magically move your VMs from machine to machine.\
           freely available Vmware 2.0 has a gui too.
           and the ability to magically move your VMs from machine to machine.
           freely available Vmware 2.0 has a gui too.
                 \_ VirtualBox?
                    \_ virtualbox is a sun thing.  its not vmware.  it
                       has its strengths and weaknesses
           \_ ESXi, the hypervisor, is actually free, it seems, but the magical
              admin tools are a part of ESX and not ESXi:
              http://www.vmware.com/products/esxi
              Anyways. Paging VMWare employees...anyone here?
              --Andy
              Anyways. Paging VMWare employees...anyone here? --toulouse
              \_ dude are you running a root name server?  Vmware 2.0 is
                 just fine.
                 \_ doesn't mean ESX wouldn't be better ;). Ease of admin is a
                    real concern for us, and besides, if the software is
                    satisfactory, we might even virtualize soda itself. Given
                    time, if we got another server with virtualization
                    extensions, failover would be a large win. As you may have
                    noticed from recent downtime, Keg's been on the fritz
                    lately, so uptime's been on our minds. Without failover,
                    we're back to square one re: evaluating KVM vs VMWare vs
                    others, hence this thread. Besides, there's an argument to
                    be made that if we have experience managing the good stuff
                    here in college it'll be what we're qualified to manage once
                    we strike out in the real world, and/or the software that we
                    recommend to our superiors should we get relevant jobs
                    (which, arguably, a few of us will). --toulouse
                    here in college it'll be what we're qualified to manage
                    once we strike out in the real world, and/or the software
                    that we recommend to our superiors should we get relevant
                    jobs (which, arguably, a few of us will). --toulouse
                    \_ I guess.  Really, I think Vmware 2.0 is adequate.
                       There are plenty of cheapass companies out there running
                       it.
                    \_ You know, when I was a poor college student, I
                       wasn't very picky. Seriously, the two may have
                       different features that you'd need in the enterprise
                       environment, but are you running an enterprise?
                       \_ Well, I'm not picky wrt/ using what works for me
                          (which, as I mentioned before, is KVM), but I
                          want the CSUA to be a bit more ambitious in its
                          endeavors, and as they say, shoot high, aim low
                          (is that the right saying?). Plus, there's the
                          fact that our vp is not paid, so minimizing the
                          addition to his workload while offering more
                          students to members is also a factor. In any
                          case, I think it'd be prudent for us to see if a
                          software donation is feasible, and if not, what
                          our other options are then. This is something
                          that can wait a bit, as we're waiting on those
                          core i7's. --toulouse
                               \- (80cols ... reformatted)
                          \_ well if this is about the CSUA rather than
                             personal edification, how about first dealing
                             with the frequent crashes/outages of soda ...
                             or is this an attempt to do so? [this seems
                             odd to me, but whatever]. second, to abuse
                             a quote a bit, "software is the continuation of
                             policy by other means" ... "what [csua] problem
                             are you trying to solve" [via this software, via
                             donation campaign/new hardware etc]. BTW, with
                             regard to giving csua people experience with
                             expensive tools, i actually think part of the
                             reason a lot of ex-csua people have been
                             successful systems people is they resorted
                             to hacking togethe things and thus understanding
                             how they work under the hood, rather than
                             throwing money at the problem [hardware and
                             softwarewise] ... i'm not saying you should say
                             solve all problems that way ... like if you need
                             disk space today, just go buy a cheap disk
                             rather than scrounging, but just the observation
                             in the past, some of this hacking to debug
                             something or getting it to work (and much of
                             this was pre-google) served people well.
                             \_ Yep, real learning comes as part of the
                                struggle. In some sense, it would be better
                                for students not to primarily have experience
                                with enterprise software packages since
                                these are made "easy to use" for the corporate
                                drones who wouldn't survive if they had to
                                have any real degree of understanding of how
                                the system actually works.
                             \_ Well, the learning I was looking for when
                                putting the idea forward (since I suggested
                                it) was geared towards people exposing
                                themselves to different OS'es and playing with
                                root in a sandbox. This is the problem I want
                                to solve, not training people in enterprise
                                applications. Also, soda hasn't been crashing
                                -- it's been keg, which serves our LDAP, that
                                (as I said before) has been on the fritz. If
                                keg goes down, then logging in does not work.
                                Politburo intends to buy a new server for
                                this; however since the Core i7 is coming out
                                we don't want a purchase now to be obsolete
                                upon arrival. We have the opportunity now to
                                solve two problems at once: allow interested
                                members access to their own personal VMs, and
                                increase stability of our servers. We can most
                                definitely do without failover, but then the
                                uptime problem isn't as completely solved.
                                The idea of getting students experienced in
                                adminning VMWare may be of low priority for
                                the CSUA as a whole; on the other hand, it is
                                (IMO) the strongest argument to be made to
                                VMWare.
                                In summary (and in my opinion) -- high
                                priorities are increasing uptime and developing
                                skills with adminning systems.
                                low priorities are developing VMWare admin
                                skills and...well, steven should be coming on
                                soon to offer his opinion. --toulouse
        \_ Can't you request a free license for VI3 from VMware at
           http://www.vmware.com/partners/academic
        \_ You could try virtual box from Sun, it is free and runs many x86
           OSes:
           http://www.virtualbox.org
           http://www.virtualbox.org/wiki/Guest_OSes
           Re VMWare - Fusion for OSX is very nice and quite affordable (I've
           seen it on sale recently for as little as $30). It has GUI admin
           tools and the unified mode makes using windows apps almost like
           using native OSX apps.
           I'm currently using Fusion to run WinXP and Ubuntu and have used
           it in the past to run Solaris x86 and FreeBSD as well. I usually
           run XP and OSX concurrently and haven't ever had any problems with
           the XP VM getting corrupted when I sleep my iMac. If you have a Mac
           I'd recommend getting it.
           \_ I don't think you understand what he's trying to do.
              \_ Maybe I misunderstood, but isn't part of what he is trying to
                 do is becoming more familiar with non-linux systems ("I'm
                 wondering ... how best to cut my teeth on messing with non-
                 linux platforms"). If he has a mac, Fusion is a good way to
                 accomplish this - it can run Solaris, Linux, *BSD, Windows,
                 &c. and will help him get a feel for those systems. Virtual
                 Box, while not as nice as Fusion (at least on Mac), is a
                 free way to accomplish the same.
              \_ These are two different objectives.  I'm talking about setting
                 up VMs as a service for CSUA so we can consolidate our machines
                 while maintaining some sort of security and OS diversity (linux
                 + BSD at least)  If toulouse wants to learn about
                 virtualization
                 of course Fusion is a good option (he does have a mac), but
                 that's a different aim.  --Steven
                 up VMs as a service for CSUA so we can consolidate our
                 machines while maintaining some sort of security and OS
                 diversity (linux + BSD at least)  If toulouse wants to learn
                 about virtualization of course Fusion is a good option (he
                 does have a mac), but that's a different aim.  --Steven
        \_ Hey guys - Steven here
           Thought I'd weigh in on the situation.  The recent outages have
           indeed been because Keg has been crashing (as presumably toulosue
           pointed out) and I'm fairly sure it's a hardware issue.  We're
           simply running too much IO through the (decently old) system
           and parts of it have already failed (we've lost one of the
           ethernet controllers already) so I'm willing to blame the system
           instead of the software.  That said, we're hoping to buy a massively
           cool system when Core i7 Xeons come out (thinking 16+ cores).  At
           that point it seems reasonable to look at virtualization.  I've
           used Fusion and Virtualbox in the past, so I'm not new to it
           by any means - but one of the requirements is that it's easy to
           admin/use.  The issue here is the host OS - I'd like to use ZFS for
           the disk array we'd need to have to back all this.  Linux doesn't
           seem to have a very good filesystem for this sort of thing - ext4
           isn't stable, btrfs is still even further off, ext3/LVM is pretty
           hacky, JFS/XFS really really need battery backups to not lose data,
           and reiserfs's future is very unstable.
           ZFS offers ZVOLs which seem to be perfect for giving out virtual
           partitions.  Right now we have Soda mounting off of Keg via NFS
           which as you may have noticed is a serious performance and stability
           problem, so I'd prefer not to go with NFS again.  The network FSes
           out there all seem to suck in one way or another, so local storage
           (especially for something like this) seems to be a must.
           Since that limits us to using FreeBSD or OpenSolaris as a host OS
                                         \_ or OSX, see:
                                         http://preview.tinyurl.com/5zo987
                                         [developer.apple.com - zfs(8)]
                                         \_ We're not rich enough to buy a
                                         Mac Pro/XServe :(
           (unless Linux ends up having a decent fs by the time we actually
           get this running).  Virtualbox doesn't seem to work well on FreeBSD
           (as in not at all) and Xen seems to not play nicely with either
           BSD or Solaris as a dom0.  VMWare won't run on BSD either - not
           sure about Solaris, which is why I was looking at ESX.  The problem
           with ESX is that it runs on only about 3 supported hardware
           configurations which are pretty hard to build on our budget.
           Discuss?
           I'll hang around and maybe get into this whole motd thing ;)
           \_ Virtual Box on OpenSolaris w/ ZFS sounds like it would probably
              work.  I used to know some OpenSolaris people when I was at sun,
              and could probably put you in touch with them if you run into
              problems. -ex-Sun
              \_ That'd be neat, I'll do so if we go that route and have
              troubles
2024/11/23 [General] UID:1000 Activity:popular
11/23   

You may also be interested in these entries...
2010/1/22-30 [Computer/HW/Laptop, Computer/SW/OS/OsX] UID:53655 Activity:high
1/22    looking to buy a new development laptop
        needs ssdrive, >6 hr possible batt life, and runs linux reasonably
        Anyone have a recommendation? Thx.
        \_ thinkpad t23 w ssdrive and battery inplace of drive bay
        \_ Ever wondered what RICHARD STALLMAN uses for a laptop?  Well,
           wonder no more!
	...
2009/7/28-8/6 [Computer/HW/Drives] UID:53216 Activity:nil
7/28    Does it make sense to defragment disks on VMWare? My 80GB disk
        on VMWare isn't really using 80GB, it just uses what it needs.
        Will defragment do anything to it?
        \_ If you want to speed up disk operation in your VM, it's best to
           defragment the disks in your VM, then defragment the disk on your
           host machine where the VM files are.
	...
2009/5/2-6 [Computer/HW/CPU] UID:52936 Activity:nil
5/2     why would my php application chew up 20-30 percent of my CPU when
        run on a real machine, but will consitently take up 60-70 percent
        of CPU when run in a vmware vm ?
        \_ the real CPU has more capacity.
           \_ Yes, did you allocate all of your CPU to the VM? Maybe you only
              gave it one CPU or something like that.
	...
2008/12/4-10 [Computer/HW/CPU, Computer/HW/Drives] UID:52163 Activity:nil
12/4    A question to you old crufy alumni: So lately we've suggested
        VMs, and been asked why it's necessary. We've suggested top-of-the-line
        hardware and been told we don't need that much power. So I'd like to
        ask -- what exactly do you think the CSUA is supposed to _be_?
        \_ Noone said VMs weren't needed.  They suggested you use the
        \_ No one said VMs weren't needed.  They suggested you use the
	...
2008/6/8-12 [Computer/SW/OS/Windows, Computer/SW/OS/VM] UID:50186 Activity:kinda low
6/8     hey nerds, Virtualbox is totally awesome.  My host OS is
        current ubuntu, I'm running Windows as my guestos, I can transfer
        files, copy/paste, all of that crap
        \_ Cool, I was thinking of looking into this soon.  How well does
           it work?  Can I run most windows programs pretty well?  ActiveX?
           Games?
	...
2008/4/3-9 [Computer/HW/Memory, Computer/SW/OS/Windows] UID:49655 Activity:nil
4/2     Anyone try vmware player and notice that network performance
        becomes terrible? I mean things like webpages timing out, etc.
        This is in NAT mode on a windows XP host running a windows 2K guest.
        \_ I use VM Server on XP Pro running XP Pro guests in NAT mode.  No
           such problem.
        \_ I use VM Server on XP Pro running two XP Pro guests in NAT mode.  No
	...
2007/4/7-10 [Computer/SW/Unix] UID:46230 Activity:nil
4/7     Dear VMWare users. I just want to post this because I spent an
        entire day trying to find out why my Ubuntu 2.6.18 has a serious
        time drift problem on host WinXP Pro. The problem is that even
        when you run vmware-tools and sync the time between your VM and
        your host, there is still a delay-- vmware-tools syncs every once
        in a while, and since my VM is so slow it doesn't catch up and
	...
2005/6/17-20 [Computer/SW/OS/VM] UID:38175 Activity:nil
6/17    I'm trying to use VMware Tools to "shrink" my Fedora Core 3 partition.
        Note that VMware "shrink" means to claim space not used by the
        vm so that the host will have extra space. This is important
        because when you create a big file in VMware and then delete it,
        the host still keeps the big file and wastes space. My problem is
        that VMware tool only recognizes /boot as something that is
	...
2005/4/14-15 [Computer/SW/OS/VM] UID:37188 Activity:nil
4/14    I'm a bit baffled by VMWare. Inside the VM, the reported disk usage
        is 2G. But outside the VM, the disk size is 5.6G even though I already
        1) defraged inside the VM and 2) defraged using VMware. Why is that?
        \_ You can specifiy whether you want to allocate a huge disk or only
           allocate as it's used.  Which did you choose?
        \_ VMWare has a checkpointed file system.  Good for "rollback" to
	...
2005/4/1-4 [Computer/Networking, Computer/SW/OS/VM] UID:37038 Activity:moderate
4/1     VMWare gurus, please help. I've configured my VMWare on my laptop and
        everything seems fine at first until I unplug my eth100 and wireless.
        All of a sudden, my host system (XP) and VM (Linux) can no longer
        reach each other. How do you configure it so that it doesn't rely
        on having a connection? -ok thx
        \_ Well, how is the virtual NIC configured for the VM?  If you're
	...
2005/3/8-10 [Computer/SW/OS/VM] UID:36584 Activity:low
3/8     Anyone work for VMWare here? care to comment on the how it is? Thx.
        \_ Yes.  I like it a lot. --jameslin
        \_ Is VMWare related to the "VM" OS on IBM mainframes?
           \_ IBM mainframes did do virtualization back in the day, but
              otherwise, no.
              \_ they still do today; it's the basis of their linux
	...
2005/2/25-28 [Computer/HW/Memory] UID:36429 Activity:low
2/25    To people running VM Ware, how much memory do you have? I have p4-1.7
        and 256mb and its slow. How much memory do I need?
        \_ A lot. You are running 2 operating systems. I'd double your RAM
           at a minimum and more is better.
           \_ Two OS's plus VMWare itself.
        \_ 256 MB of RAM is not that much.  If you're using a Windows host,
	...
Cache (3836 bytes)
www.vmware.com/partners/academic -> www.vmware.com/partners/academic/
alternate VMware VMware Academic Program (VMAP) VMware Academic Program Overview The VMware Academic Program (VMAP) is a comprehensive program designed specifically for the academic community. The program enables qualifying academic institutions worldwide to gain easy access to cutting-edge virtualization technology and resources at no charge. VMAP accelerates instruction and research in the rapidly expanding area of virtualized infrastructure by providing faculty and students with access to the virtualization technologies most widely used in commercial production environments. In addition to free licenses for instruction and research, VMware also provides academic institutions and affiliated organizations special discounts on VMware software and support when deployed as a part of their IT infrastructure. FAQs Eligibility: General Eligibility * Accredited, degree-granting higher education institutions worldwide offering 2- or 4- year college programs are eligible to participate in the program * Technical schools offering accredited degrees through distance education programs are also eligible to participate in the program Free Academic Licenses * Free licenses are available for academic instruction and research use only * Membership in the VMware Academic Program and acceptance of the academic EULA are required. Register here * Technology-focused departments such as Computer Science, Engineering, and Information Systems can participate in the program * Multiple academic groups such as departments, labs, research groups or clusters within member institutions can participate in the program Discounted Academic Licenses Organizations directly related to the academic institution (eg teaching hospitals) are eligible for the educational discount. If you're a university or college student, prospective student, or member of the faculty you can receive an academic discount on certain desktop products. To top Program Scope: Qualified members of the academic community can utilize the VMware Academic Program in the following areas: Instruction - Faculty within member institutions gain access to VMware software licenses free of cost for the purpose of classroom instruction. Faculty can obtain and install program software on computers within shared lab environments for use by students as part of the courses offered. Students taking qualified courses can also install program software on their personal computers. Research - Faculty within member institutions gain access to VMware software licenses free of cost as a part of their research projects. Program software can be installed in research labs as well on the personal computers of faculty and students involved in research projects. Infrastructure - Member Institutions and affiliated organizations can gain access to VMware software licenses at a discounted price for use within their institutional IT and administrative infrastructure. Use of VMware software for instruction and research is governed by specific program guidelines and the conditions described within the VMware Academic Program EULA (End-User License Agreement). The use of software for infrastructure purposes is governed by the VMware Commercial EULA. To top Products Included: The departments at member institutions qualifying for free licenses will gain access to a powerful suite of VMware products, upgrades and a host of technical resources. The free products are ideal for instructional and research use within academic institutions. Included products are: * VMware Infrastructure 3 - Standard Edition * VMware Fusion * VMware SDK * VMware Converter * VMware Workstation * VMware Server For IT and other infrastructure use, eligible institutions can access the entire suite of VMware software, at a special discounted price, through standard VMware commercial sales channels.
Cache (2372 bytes)
www.vmware.com/products/esxi -> www.vmware.com/products/esxi/
Upgrade Get Production-Ready Virtualization that is Easy-to-Use Deliver unmatched levels of performance, reliability and security with VMware ESXi when you launch your first virtual machine minutes after installation. Create Virtual Machines Quickly and Easily Using VMware ESXi, you can create virtual machines quickly and easily. A menu-driven startup and automatic configurations and enable you to get virtual machines set up and running in minutes. You can also deploy servers that have VMware ESXi embedded to experience true "plug and play" virtualization. Reliably Run Multiple Operating Systems on a Single Server Deploy mature hypervisor technology that is proven in tens of thousands of customer environments. VMware ESXi helps you to minimize risk by deploying the only operating system independent hypervisor and avoid the security hardening, user access control and anti-virus tasks associated with a typical operating system. fault-tolerant features such as storage multipathing and NIC teaming. Get Higher Consolidation Ratios for the Most Resource Intensive Applications Run email, databases, ERP and other resource-intensive applications on VMware ESXi's bare-metal architecture offering advanced memory management and support for scaled-up physical and virtual machines. twice the consolidation ratio possible with other first-generation hypervisors and minimize your hardware costs. Manage Virtual Machines Remotely and Save Time, Money and Resources In addition to consolidation, ESXi saves you money with remote management features, such as configuration, maintenance, patches and updates. Get point-and-click management for your ESXi host and its virtual machines using the intuitive graphical interface of VMware Infrastructure Client. Take snapshots of your virtual machines and roll back changes when testing patches or updates, monitor performance and resource utilization, and perform basic hardware component monitoring. VMware Infrastructure 3, the most widely deployed virtual infrastructure suite in the market, is as simple as adding a license file. VMware Infrastructure delivers improved service levels and operational efficiency by enabling centralized management, automatic load balancing, business continuity, power management and the ability to live migrate a virtual machine across physical machines to minimize service interruption.
Cache (1145 bytes)
www.virtualbox.org
ChangeLog for a list of changes since VirtualBox 204 * New Sep 4, 2008 VirtualBox 20 released! Today is a significant day in the history of VirtualBox. The brand new version 20 comes with major enhancements such as 64-bit VMs, stronger networking capabilities and a native Mac OS X interface. virtualization products for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL). VirtualBox is being actively developed with frequent releases and has an ever growing list of features, supported guest operating systems and platforms it runs on. VirtualBox is a community effort backed by a dedicated company: everyone is encouraged to contribute while Sun ensures the product always meets professional quality criteria. On this site, you can find sources, binaries, documentation and other resources for VirtualBox. If you are interested in VirtualBox (both as a user, or possibly as a contributor), this website is for you.
Cache (713 bytes)
www.virtualbox.org/wiki/Guest_OSes
Last Change Status: Guest OSes The following table gives an overview of how well VirtualBox supports various operating systems in its virtual machines. Rows marked with an asterisk contain information reported by users and not verified by the VirtualBox team. User FAQ Windows 2000 Works, with Additions Windows XP Works, with Additions Windows Server 2003 Work, with Additions Windows NT Works, with Additions Some issues with old service packs. Unices FreeBSD Works partially FreeBSD 62 is known to cause problems. Others DOS Works, no Additions available Only limited testing as part of system installation processes has been performed. OS/2 Works, with Additions Requires VT-x hardware virtualization support.
Cache (8192 bytes)
preview.tinyurl.com/5zo987 -> developer.apple.com/documentation/Darwin/Reference/ManPages/man8/zfs.8.html
A dataset is identified by a unique path within the ZFS namespace. For example: pool/{filesystem,volume,snapshot} where the maximum length of a dataset name is MAXNAMELEN (256 bytes). A dataset can be one of the following: file system A standard POSIX file system. ZFS file systems can be mounted within the standard file system namespace and behave like any other file system. volume A logical volume exported as a raw or block device. This type of dataset should only be used under special circumstances. snapshot A read-only version of a file system or volume at a given point in time. It is speci-fied specified fied as filesystem@name or volume@name. ZFS Read-only Implementation ZFS on OSX is implemented as a readonly filesystem by default. This means that only the ZFS subcom-mands subcommands mands that do non write operations are permitted. Permitted subcommands are list, get, mount, unmount, and send. ZFS File System Hierarchy A ZFS storage pool is a logical collection of devices that provide space for datasets. A storage pool is also the root of the ZFS file system hierarchy. The root of the pool can be accessed as a file system, such as mounting and unmounting, taking snap- shots, and setting properties. zpool for more information on creating and administering pools. Snapshots A snapshot is a read-only copy of a file system or volume. Snapshots can be created extremely quickly, and initially consume no additional space within the pool. As data within the active dataset changes, the snapshot consumes more data than would otherwise be sharedwith the active dataset. Snapshots of volumes can be clonedor rolled back, but cannot be accessed independently. Snapshots are automatically mounted on demand and may be unmounted at regular intervals. zfs" directory can be controlled by the "snapdir" property. Clones A clone is a writable volume or file system whose initial contents are the same as another dataset. As with snapshots, creating a clone is nearly instantaneous, and initially consumes no additional space. When a snapshot is cloned, it creates an implicit depen- dency between the parent and child. Even though the clone is createdsomewhere else in the dataset hierarchy, the original snapshot cannot be destroyed as long as a cloneexists. The "origin" property exposes this dependency, and the destroy command lists any such dependencies, if they exist. The clone parent-child dependency relationship can be reversed by using the "promote" subcommand. This causes the "origin" file system to become a clone of the specifiedfile system, which makes it possible to destroy the file system that the clone was created from. Mount Points Creating a ZFS file system is a simple operation, so the number of file systems per system will likely be numerous. To cope with this, ZFS automatically manages mounting and unmounting file sys- tems. All automatically managed file systems are mounted by ZFS at boot time. By default, file systems are mounted under /Volumes/fs, where fs is the name of the file system in the ZFS namespace. A file system can also have a mount point set in the "mountpoint" property. This directory is created as needed, and ZFS automatically mounts the file system when the "zfs mount -a" command is invoked. The mountpoint property can be inherited, so if Volumes/pool/home has amount point of /export/stuff, then pool/home/user automatically inherits a mount point of /export/stuff/user. A file system mountpoint property of "none" prevents the file system from being mounted. If needed, ZFS file systems can also be managed with traditional tools (mount, umount). If a file system's mount point is set to "legacy", ZFS makes no attempt to manage the file system, and the administrator is responsible for mounting and unmounting the file system. Native Properties Properties are divided into two types, native properties and user defined properties. Native proper- ties either export internal statistics or control ZFS behavior. In addition, native properties are either editable or read-only. User properties have no effect on ZFS behavior, but you can use them to annotate datasets in a way that is meaningful in your environment. For more information about user properties, see the "User Properties" section. Every dataset has a set of properties that export statistics about the dataset as well as control various behavior. Properties are inherited from the parent unless overridden by the child. Properties that are not applicable to snapshots are not displayed. The values of numeric properties can be specified using the following human-readable suffixes (for example, "k", "KB", "M", "Gb", etc, up to Z for zettabyte). The values of non-numeric properties are case sensitive and must be lowercase, except for "mount- point" and "sharenfs". The first set of properties consist of read-only statistics about the dataset. These properties can- not be set, nor are they inherited. Native properties apply to all dataset types unless otherwise noted. type The type of dataset: "filesystem", "volume", "snapshot", or "clone". used The amount of space consumed by this dataset and all its descendants. This is the value that is checked against this dataset's quota andreservation. The space used does not include this dataset's reservation, but does take into account the reserva- tions of any descendant datasets. The amount of spacethat a dataset consumes from its parent, as well as the amount of space that will be freed if this dataset is recursively destroyed, is the greater of its space used and its reservation. When snapshots (see the "Snapshots" section) are created, their space is initially shared between the snapshot and the file system, and possibly with previous snap- shots. As the file system changes, space that was previously shared becomes unique to the snapshot, and counted in the snapshot's space used. Additionally, deleting snapshots can increase the amount of space unique to (and used by) other snapshots. The amount of space used, available, or referenced does not take into account pend- ing changes. Pending changes are generally accounted for within a few seconds. Com- mitting a change to a disk using fsync(3c) or O_SYNC does not necessarily guarantee that the space usage information is updated immediately. available The amount of space available to the dataset and all its children, assuming that there is no other activity in the pool. Because space is shared within a pool, availability can be limited by any number of factors, including physical pool size, quotas, reservations, or other datasets within the pool. This property can also be referred to by its shortenedcolumn name, "avail". referenced The amount of data that is accessible by this dataset, which may or may not be shared with other datasets in the pool. When a snapshot or clone is created, it ini- tially references the same amount of space as the file system or snapshot it was created from, since its contents are identical. This property can also be referred to by its shortenedcolumn name, "refer". compressratio The compression ratio achieved for this dataset, expressed as a multiplier. Compres- sion can be turned on by running "zfs set compression=on dataset". mounted For file systems, indicates whether the file system iscurrently mounted. origin For cloned file systems or volumes, the snapshot from which the clone was created. The origin cannot be destroyed (even with the -r or -foptions) so long as a clone exists. The following two properties can be set to control the way space is allocated between datasets. These properties are not inherited, but do affect their descendants. quota=size | none Limits the amount of space a dataset and its descendants can consume. This property enforces a hard limit on the amount of space used. This includes all space consumed by descendants, includ- ing file systems and snapshots. Setting a quota on a descendant of a dataset that already has a quota does not override the ancestor's quota, but rather imposes anadditional limit. Quotas cannot be set on volumes, as the "volsize" property acts as an implicit quota. reservation=size | none The minimum amount of space g...
Cache (611 bytes)
developer.apple.com
Dynamic HTML and XML: The XMLHttpRequest Object Safari now supports the XMLHttpRequest object. Learn how to use it to fetch, store and access XML data for use as web content. Binding Your Preferences in Cocoa Cocoa bindings let developers reuse data in their applications without having to write gluecode. Read this step-by-step article to learn how to use bindings by creating a simple app. Final Cut Pro 4 Opens Up with XML Interchange Format Final Cut Pro can share project information with any application that supports XML Read about the developer opportunities for creating application features and tools.