search for: lofiadm

Displaying 20 results from an estimated 24 matches for "lofiadm".

Did you mean: loadm
2008 Dec 30
0
lofiadm -d keeps a lock on file in an nbmand-mounted zfs
Hi, Has anyone seen the following problem? After "lofiadm -d" removes an association, the file is still locked and cannot be moved or deleted if the file resides in a ZFS mounted with nbmand=on. There are two ways to remove the lock. (1) remount the zfs by the unmount+mount; the lock is removed even if nbmand=on option is given again, or (2) reboot...
2007 Nov 07
1
How to lofiadm and make NFS share for SNV76.ISO file ?
...for services status. Originally all disabled. #svcs -a|grep nfs Which services have to be enabled ? # svcadm enable svc:/network/nfs/status:default # svcadm enable svc:/network/nfs/server:default # svcadm enable svc:/network/nfs/client:default Maybe more or less ? Would the rest be correct ? # lofiadm -a /etc/xen/disks/snv76x86.iso # mount -o ro -F hsfs /dev/lofi/1 /mnt # share /mnt # virt-install -n sps -p -r 1024 --nographics -f /export/xVM/sps.disk \ -l nfs:localhost:/mnt Please,advise. This message posted from opensolaris.org
2007 Sep 19
2
import zpool error if use loop device as vdev
Hey, guys I just do the test for use loop device as vdev for zpool Procedures as followings: 1) mkfile -v 100m disk1 mkfile -v 100m disk2 2) lofiadm -a disk1 /dev/lofi lofiadm -a disk2 /dev/lofi 3) zpool create pool_1and2 /dev/lofi/1 and /dev/lofi/2 4) zpool export pool_1and2 5) zpool import pool_1and2 error info here: bash-3.00# zpool import pool1_1and2 cannot import ''pool1_1and2'': no such pool available So, can...
2008 Apr 15
4
Attempt to create F8 FomU at SNV85 Dom0
# lofiadm -a /export/home/isos/f8.iso /dev/lofi/1 # mount -o ro -F hsfs /dev/lofi/1 /mnt # share -F nfs /mnt Start virt-install :- # virt-install -n F8PVM --ram 1024 --nographics -p \ -f /dev/zvol/dsk/xvmpool/f8-disk -l nfs:192.168.1.42:/mnt -d Starting install... libvir: Xen Daemon error : GET operation...
2006 Jun 13
4
ZFS panic while mounting lofi device?
...rrect in saying it''s ZFS'' fault. Also, let me know if you need any additional information or debug output to help diagnose things. Config: [b]bash-3.00# uname -a SunOS mathrock-opensolaris 5.11 opensol-20060605 i86pc i386 i86pc[/b] Scenario: [b]bash-3.00# mount -F hsfs -o ro `lofiadm -a /data/OS/Solaris/sol-nv-b39-x86-dvd.iso` /tmp/test[/b] After typing that the system hangs, the network drops, panics, and reboots. "/data" is a ZFS file system built on a raidz pool of 3 disks. [b]bash-3.00# zpool status sata pool: sata state: ONLINE scrub: none requested config:...
2007 Jul 26
8
Read-only (forensic) mounts of ZFS
...sake, and I''m using Solaris 10 6/06, which may not be the most up-to-date. At the bottom are details of the tests. The problem: I was not able to use a loopback device on a file system image (see TEST section). Here are some questions: * Am I missing something? * Is there support for lofiadm in a more recent version of ZFS? * Or is there any other way to safely mount a file system image? Thanks for your help. Regards Mark GOOD NEWS It looks as if the zfs mount options can stop updates of file system metadata (ie mount times etc) and file metadata (no writing of file access times)...
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''...
2007 Mar 28
6
ZFS and UFS performance
...GB of memory. This V240 is attached to a 3510 FC that has 12 x 300 GB disks. The 3510 is configured as HW RAID 5 with 10 disks and 2 spares and it''s exported to the V240 as a single LUN. We create iso images of our product in the following way (high-level): # mkfile 3g /isoimages/myiso # lofiadm -a /isoimages/myiso /dev/lofi/1 # newfs /dev/rlofi/1 # mount /dev/lofi/1 /mnt # cd /mnt; zcat /product/myproduct.tar.Z | tar xf - and we finally use mkisofs to create the iso image. UFS performance ---------------------- We created a UFS file system on the above LUN and the above iso creation pro...
2007 Jul 27
1
Read-only (forensic) mounts of ZFS
...''m using Solaris 10 6/06, which may not be the most up-to-date. At the bottom are details of the tests. The problem: I was not able to use a loopback device on a file system image (see TEST section). Here are some questions: * Am I missing a command or something? * Is there support for lofiadm in a more recent version of ZFS? * Or is there any way to safely mount a file system image? Thanks for your help. Regards Mark GOOD NEWS It looks as if the zfs mount options can stop updates of file system metadata (ie mount times etc) and file metadata (no writing of file access times). Qu...
2008 Mar 04
2
Mount a dvd image...?
...al" notation (''file:/export/winxp/winxp.iso,hda:cdrom,r'' becomes ''file:/other/path/whateverDVD.iso,hdf:cdrom,r'') does not seem to work (in the .py file); when I start the xp domU, it simply ignores it, no drive is shown. I tried to mount the same image with lofiadm/mount, and I could browse it''s contents, so the image file itself seems to be OK. Are such big (=dvd) images supported by the current version of Xen/xVM? thanks a lot! a This message posted from opensolaris.org
2007 Oct 18
2
GRUB + zpool version mismatches
Apparently with zfs boot, if the zpool is a version grub doesn''t recognize, it merely ignores any zfs entries in menu.lst, and apparently instead boots the first entry it thinks it can boot. I ran into this myself due to some boneheaded mistakes while doing a very manual zfs / install at the summit. Shouldn''t it at least spit out a warning? If so, I have no issues filing a
2008 Aug 05
5
OpenSolaris+ZFS+RAIDZ+VirtualBox - ready for production systems?
Hi all, I have been looking at various alternatives for a system that runs several Linux & Windows guests. So far my favorite choice would be OpenSolaris+ZFS+RAIDZ+VirtualBox. Is this combo ready to be a host for Linux & Windows guests? Or is it not 100% stable (yet)? Greetings, Evert This message posted from opensolaris.org
2009 Jun 22
10
Could not find an installable distribution
Hi all, I am trying to install OpenSUSE 11.1 as a para-virtualized DomU on an opensolaris2009.06 guest using the xvm packages provided via IPS. I followed the instructions available here: http://www.opensolaris.org/os/community/xen/docs/virtinstall/ but I get the following error when trying to install from a NFS share where I mounted the iso (as far as I understand the only way to get a Linux
2007 Nov 06
9
Can''t find kernel file
I am pretty new to using solaris''s xvm. I booted my sol dom0 and attempted to create a one of the linux pre-built domU''s. Every time I try to run the xm create command I get an error saying something about it not being able to find the kernel file. Any ideas. This message posted from opensolaris.org
2009 Sep 28
2
which build is stable for xVM?
Hi, Gurus, which build is stable for xVM? I chose Nevada 111 as xVM server, because it''s build base for OpenSolaris 200906. I think it should be stable. But I met error when I creating second vm on it. I tried virt-install and virt-manager, and I got same error. Here is error info libvir: Xen Daemon error : GET operation failed: libvir: Xen Daemon error : GET operation failed:
2009 Nov 09
1
CentOS 5.4 x86_64 domU start fails
...;(2,''Invalid Kernel'', ''xc_dom_find_loader : no loader found \\n'')") My Machine: SunOS katecholamin 5.11 snv_111b i86pc i386 i86xpv Solaris I created a disk: pfexec zfs create -V 10G rpool/vms/centos/centos-dsk Mounted my .iso and shared it via nfs: pfexec lofiadm -a /spool/software/linux/CentOS-5.4-x86_64-bin-DVD.iso mount -o ro -F hsfs /dev/lofi/1 /mnt/centos share -F nfs /mnt/centos Created the vm: pfexec virt-install -n centos-test -r 1024 -f /dev/zvol/dsk/rpool/vms/centos/centos-dsk -p --nographics -l nfs:myIP:/mnt/centos Installation works fine, but...
2010 Jan 14
0
Install RedHat/CentOS domU on OpenSolaris with ISO image
...w to install Linux on domU,but their install media are from http or OpenSuSe image. I find there is some different from RedHat ISO image. 1) $pfexec svcadm enable svc:/network/nfs/client:default # I find the nfs client is disabled by default, this issue spent me much time to find it. 2) $pfexec lofiadm -a ./rhel-server-5.4-X86_64-dvd.iso # If you mount the iso image with the command "mount -F hsfs", it will tell me the image is not the hsfs format. I googled this issue, one said this is because opensolaris is used new image format, but RedHat has not updated the format. But another sai...
2007 Sep 28
5
ZFS Boot Won''t work with a straight or mirror zfsroot
Using build 70, I followed the zfsboot instructions at http:// www.opensolaris.org/os/community/zfs/boot/zfsboot-manual/ to the letter. I tried first with a mirror zfsroot, when I try to boot to zfsboot the screen is flooded with "init(1M) exited on fatal signal 9" Than I tried with a simple zfs pool (not mirrored) and it just reboots right away. If I try to setup grub
2006 Jan 22
3
Encrypted volume - how?
Hi all, I'm looking for a way to recreate the functionality of PGP Disk (under Win32). Basically, create an encrypted file, which contains a filesystem which can then be mounted in any mount point. I know I can use GELI in FreeBSD 6 - as I understand, it performs the encryption at the partition level (the whole partition is encrypted). I'd like to be able to simply unmount my
2012 Jun 12
15
Recovery of RAIDZ with broken label(s)
Hi all, I have a 5 drive RAIDZ volume with data that I''d like to recover. The long story runs roughly: 1) The volume was running fine under FreeBSD on motherboard SATA controllers. 2) Two drives were moved to a HP P411 SAS/SATA controller 3) I *think* the HP controllers wrote some volume information to the end of each disk (hence no more ZFS labels 2,3) 4) In its "auto