Displaying 20 results from an estimated 191 matches for "mount_ro".
2014 Sep 27
2
Re: Virt-v2v conversion issue
...vfs_type = "ntfs"
libguestfs: trace: internal_parse_mountable "/dev/sda2"
libguestfs: trace: internal_parse_mountable = <struct guestfs_internal_mountable *>
libguestfs: trace: is_whole_device "/dev/sda2"
libguestfs: trace: is_whole_device = 0
libguestfs: trace: mount_ro "/dev/sda2" "/"
libguestfs: trace: mount_ro = -1 (error)
libguestfs: trace: vfs_type "/dev/sda3"
libguestfs: trace: vfs_type = ""
libguestfs: trace: internal_parse_mountable "/dev/sda3"
libguestfs: trace: internal_parse_mountable = <struct guestf...
2013 Sep 06
1
答复: python-guestfs
...libguestfs: trace: inspect_os
libguestfs: trace: umount_all
libguestfs: trace: umount_all = 0
libguestfs: trace: list_devices
libguestfs: trace: list_devices = ["/dev/vda"]
libguestfs: trace: vfs_type "/dev/vda"
libguestfs: trace: vfs_type = ""
libguestfs: trace: mount_ro "/dev/vda" "/"
libguestfs: trace: mount_ro = -1 (error)
libguestfs: trace: list_partitions
libguestfs: trace: list_partitions = ["/dev/vda1", "/dev/vda2"]
libguestfs: trace: vfs_type "/dev/vda1"
libguestfs: trace: vfs_type = "ntfs"
libgues...
2014 Sep 09
2
CoreOS support
Hello,
is CoreOS supported by libguestfs?
I was trying to run several commands some were successful others ended up with an error:
for example virt-df was OK but when I tried to do virt-resize I got the following error message:
root@ny2proxd03:/var/lib/vz/images/100# virt-resize --expand /dev/sda3 vm-100-disk-1.qcow2 vm-100-disk-1.qcow2.resized
Examining vm-100-disk-1.qcow2 ...
100%
2013 Mar 05
0
Fwd: [Bug 916990] inspect_os: mount_ro: /dev/sda on / (options: 'ro'): mount: /dev/sda is already mounted or /sysroot busy
More evidence this is a real bug affecting users. I still have no
idea why this bug happens.
Rich.
----- Forwarded message from bugzilla at redhat.com -----
Date: Tue, 05 Mar 2013 20:29:23 +0000
Subject: [Bug 916990] inspect_os: mount_ro: /dev/sda on / (options: 'ro'):
mount: /dev/sda is already mounted or /sysroot busy
Product: Virtualization Tools
https://bugzilla.redhat.com/show_bug.cgi?id=916990
Joe Ryner changed:
What |Removed |Added
------------------------------------------------...
2011 Dec 07
2
failure converting Linux ESX guest to KVM hypervisor
...libguestfs: trace: launch
Using CPU model "cpu64-rhel6"
libguestfs: trace: launch = 0
libguestfs: trace: set_autosync true
libguestfs: trace: set_autosync = 0
libguestfs: trace: list_devices
libguestfs: trace: list_devices = ["/dev/sda", "/dev/sdb"]
libguestfs: trace: mount_ro "/dev/sda" "/"
libguestfs: trace: mount_ro = -1 (error)
libguestfs: trace: umount_all
libguestfs: trace: umount_all = 0
libguestfs: trace: mount_ro "/dev/sdb" "/"
libguestfs: trace: mount_ro = 0
libguestfs: trace: umount_all
libguestfs: trace: umount_all = 0...
2014 Sep 27
0
Re: Virt-v2v conversion issue
...ot;
> libguestfs: trace: internal_parse_mountable "/dev/sda2"
> libguestfs: trace: internal_parse_mountable = <struct guestfs_internal_mountable *>
> libguestfs: trace: is_whole_device "/dev/sda2"
> libguestfs: trace: is_whole_device = 0
> libguestfs: trace: mount_ro "/dev/sda2" "/"
> libguestfs: trace: mount_ro = -1 (error)
> libguestfs: trace: vfs_type "/dev/sda3"
> libguestfs: trace: vfs_type = ""
> libguestfs: trace: internal_parse_mountable "/dev/sda3"
> libguestfs: trace: internal_parse_moun...
2017 Jul 14
0
[PATCH 09/27] daemon: Reimplement ‘mount’, ‘mount_ro’, ‘mount_options’, ‘mount_vfs’ APIs in OCaml.
...n/mount.c
index 0ad9626a7..962b86079 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -111,105 +111,6 @@ is_device_mounted (const char *device)
return 0;
}
-/* The "simple mount" call offers no complex options, you can just
- * mount a device on a mountpoint. The variations like mount_ro,
- * mount_options and mount_vfs let you set progressively more things.
- *
- * It's tempting to try a direct mount(2) syscall, but that doesn't
- * do any autodetection, so we are better off calling out to
- * /bin/mount.
- */
-
-int
-do_mount_vfs (const char *options, const char *vfstype,...
2014 Sep 28
2
Re: Virt-v2v conversion issue
...gt; libguestfs: trace: internal_parse_mountable "/dev/sda2"
> libguestfs: trace: internal_parse_mountable = <struct
> guestfs_internal_mountable *>
> libguestfs: trace: is_whole_device "/dev/sda2"
> libguestfs: trace: is_whole_device = 0
> libguestfs: trace: mount_ro "/dev/sda2" "/"
> libguestfs: trace: mount_ro = -1 (error)
> libguestfs: trace: vfs_type "/dev/sda3"
> libguestfs: trace: vfs_type = ""
> libguestfs: trace: internal_parse_mountable "/dev/sda3"
> libguestfs: trace: internal_parse_moun...
2013 Sep 04
2
python-guestfs
I use python-guestfs to mount windows image it have some problems .Here is my code:
[root@mfsdata1 ~]# python
Python 2.6.6 (r266:84292, Sep 11 2012, 08:34:23)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> sheepfs_dir="/tmp/sheepfs"
2014 Sep 24
4
Re: Virt-v2v conversion issue
Hi,
Thank you Richard for your work, but I have also like Jeff Forbes a new issue :
libguestfs: trace: hivex_node_set_value = 0
libguestfs: trace: upload "/usr/share/virtio-win/drivers/amd64/Win2008/viostor.sys" "/Windows/Drivers/VirtIO"
libguestfs: trace: upload = -1 (error)
libguestfs: trace: hivex_close
libguestfs: trace: hivex_close = 0
virt-v2v: error: libguestfs error:
2009 Jul 24
1
[PATCH] Make read-only optional in mount_operating_system()
...$ro = shift; # Read-only?
+
+ $ro = 1 unless(defined($ro)); # ro defaults to 1 if unspecified
my $mounts = $os->{mounts};
# Have to mount / first. Luckily '/' is early in the ASCII
# character set, so this should be OK.
foreach (sort keys %$mounts) {
- $g->mount_ro ($mounts->{$_}, $_)
- if $_ ne "swap" && $_ ne "none" && ($_ eq '/' || $g->is_dir ($_));
+ if($_ ne "swap" && $_ ne "none" && ($_ eq '/' || $g->is_dir ($_))) {
+ if($ro) {
+...
2001 Nov 06
0
[PATCH] nomtab support
...ive -u samba-2.2.2/source/client/smbmnt.c
samba-2.2.2-nomtab/source/client/smbmnt.c
--- samba-2.2.2/source/client/smbmnt.c Sun Apr 8 20:22:51 2001
+++ samba-2.2.2-nomtab/source/client/smbmnt.c Tue Nov 6 13:01:19 2001
@@ -28,6 +28,7 @@
static uid_t mount_uid;
static gid_t mount_gid;
static int mount_ro;
+static int no_mtab;
static unsigned mount_fmask;
static unsigned mount_dmask;
static int user_mount;
@@ -40,6 +41,7 @@
printf("Usage: smbmnt mount-point [options]\n");
printf("Version %s\n\n",VERSION);
printf("-s share share name on server\n&q...
2014 Sep 09
2
Re: CoreOS support
..._get_bootable "/dev/sda" 1
libguestfs: trace: part_get_bootable = 1
libguestfs: trace: part_get_mbr_id "/dev/sda" 1
libguestfs: trace: part_get_mbr_id = -1 (error)
libguestfs: trace: vfs_type "/dev/sda1"
libguestfs: trace: vfs_type = "vfat"
libguestfs: trace: mount_ro "/dev/sda1" "/"
libguestfs: trace: mount_ro = 0
libguestfs: trace: statvfs "/"
libguestfs: trace: statvfs = <struct guestfs_statvfs *>
libguestfs: trace: part_get_bootable "/dev/sda" 3
libguestfs: trace: part_get_bootable = 0
libguestfs: trace: part_get...
2013 Feb 28
5
virt-v2v F18 guest on F18 failure
Run with LIBGUESTFS_ATTACH_METHOD=appliance
Fails with:
inspect_os: mount_ro: /dev/sda on / (options: 'ro'): mount: /dev/sda is already mounted or /sysroot busy at
/usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 194.
virt-inspector works as expected
libguestfs-test-tool.log: http://pastebin.ca/2317900
virt-v2v.log: http://iaindb.pastebin....
2017 Oct 08
3
Re: Virtualbox vdi Input Format and man pages
08.10.2017, 08:09, "Richard W.M. Jones" <rjones@redhat.com>:
> However virt-v2v has its own parser for libvirt XML and only parses a
> (very) small subset of these fields. Generally you only need to take
> that template and change a few fields, name, memory size, number of
> vCPUs, and make sure there is one <disk> section per disk and one
> <interface>
2018 Apr 09
2
[PATCH] daemon: Fix type signature of mount_vfs (RHBZ#1564983).
https://bugzilla.redhat.com/show_bug.cgi?id=1564983
Because Mount.mount_vfs was declared with the wrong type signature it
could never be called correctly from outside the daemon.
The root cause of this problem is that the generator doesn't generate
the type signatures automatically (which it could do, and fairly
easily). Therefore there are probably other similar bugs waiting to
be found.
2012 Dec 15
1
virt-resize Fatal error: exception Guestfs.Error("e2fsck_f
...t_get_bootable "/dev/sda" 1
libguestfs: trace: part_get_bootable = 1
libguestfs: trace: part_get_mbr_id "/dev/sda" 1
libguestfs: trace: part_get_mbr_id = 131
libguestfs: trace: vfs_type "/dev/sda1"
libguestfs: trace: vfs_type = "ext4"
libguestfs: trace: mount_ro "/dev/sda1" "/"
libguestfs: trace: mount_ro = 0
libguestfs: trace: statvfs "/"
libguestfs: trace: statvfs = <struct guestfs_statvfs *>
libguestfs: trace: part_get_bootable "/dev/sda" 2
libguestfs: trace: part_get_bootable = 0
libguestfs: trace: pa...
2017 Oct 08
0
Re: Virtualbox vdi Input Format and man pages
...or so.
guestfsd: error: /dev/sda on / (options: 'ro'): mount: wrong fs type, bad option, bad superblock on /dev/sda,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
guestfsd: main_loop: proc 73 (mount_ro) took 0.08 seconds
libguestfs: trace: v2v: mount_ro = -1 (error)
libguestfs: trace: v2v: inspect_get_roots
libguestfs: trace: v2v: inspect_get_roots = []
libguestfs: trace: v2v: inspect_os = []
08.10.2017, 10:13, "stef204" <stef204@yandex.com>:
> 08.10.2017, 08:09, "Richa...
2017 Jul 17
0
[PATCH v9 04/11] daemon: Implement umount_all in OCaml.
...++++++
daemon/mount.mli | 2 ++
2 files changed, 63 insertions(+)
diff --git a/daemon/mount.ml b/daemon/mount.ml
index 4bb74fb82..40c81be0e 100644
--- a/daemon/mount.ml
+++ b/daemon/mount.ml
@@ -60,3 +60,64 @@ let mount_vfs options vfs mountable mountpoint =
let mount = mount_vfs None None
let mount_ro = mount_vfs (Some "ro") None
let mount_options options = mount_vfs (Some options) None
+
+(* Unmount everything mounted under /sysroot.
+ *
+ * We have to unmount in the correct order, so we sort the paths by
+ * longest first to ensure that child paths are unmounted by parent
+ * paths....
2017 Aug 09
0
[PATCH v12 05/11] daemon: Implement umount_all in OCaml.
...++++++
daemon/mount.mli | 2 ++
2 files changed, 63 insertions(+)
diff --git a/daemon/mount.ml b/daemon/mount.ml
index 3391ffc11..fbf4ddc39 100644
--- a/daemon/mount.ml
+++ b/daemon/mount.ml
@@ -60,3 +60,64 @@ let mount_vfs options vfs mountable mountpoint =
let mount = mount_vfs None None
let mount_ro = mount_vfs (Some "ro") None
let mount_options options = mount_vfs (Some options) None
+
+(* Unmount everything mounted under /sysroot.
+ *
+ * We have to unmount in the correct order, so we sort the paths by
+ * longest first to ensure that child paths are unmounted by parent
+ * paths....