Displaying 20 results from an estimated 4000 matches similar to: "[PATCH 0/2] Add a 'virt-rescue' command"
2009 Aug 11
1
selinux question and answer
This is continuing/summarising a rather long discussion that happened
on IRC ...
We talked to some SELinux experts about what was required to make
SELinux work with libguestfs, and it seems reasonably simple to load
the policy from the guest filesystem.
All that needs to be done is to mount the guest disks up and then run:
sh "/usr/sbin/load_policy -i"
That command also mounts up
2009 Aug 12
1
[PATCH] Add 'setcon', 'getcon' commands to set and get the SELinux context
These commands let you set and get the SELinux context of the daemon
and all operations in the API and processes run from the daemon:
$ ./fish/guestfish --ro -a /dev/mapper/vg_trick-F11x64 \
selinux 1 : \
run : \
mount /dev/vg_f11x64/lv_root / : \
sh "/usr/sbin/load_policy" : \
getcon : \
setcon "system_u:system_r:unconfined_t:s0" : \
getcon
2009 Apr 26
1
ext4 mount fails with "resize inode not valid" after a reboot
With kernel 2.6.30-rc2-git6 and prior I am having problems mounting
ext4 partitions after reboot.
A successful mount looks like this:
/dev/cciss/c0d0p8 on /squid-cache0 type ext4 (rw,noexec,nodev,noatime,data=writeback,errors=panic)
/dev/cciss/c0d0p9 on /squid-cache1 type ext4 (rw,noexec,nodev,noatime,data=writeback,errors=panic)
/dev/cciss/c0d0p10 on /squid-data type ext4
2016 Mar 24
1
[PATCH 1/2] rescue: Suggest using recursive bind mounts.
Since /dev and other directories contain sub-mounts, suggest using
--rbind instead of --bind. This also allows us to remove the /dev/pts
line.
---
rescue/rescue.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/rescue/rescue.c b/rescue/rescue.c
index 53afdae..9a7c988 100644
--- a/rescue/rescue.c
+++ b/rescue/rescue.c
@@ -453,10 +453,9 @@ do_suggestion (struct drv
2009 Jul 27
2
[PATCH] Replace shell_quote function with %Q and %R printf specifiers.
At the moment the daemon code contains an incredibly hairy function
called shell_quote for safely quoting strings passed to the shell.
The patch replaces that with a glibc custom printf format (actually
two, but very closely related), %Q and %R.
%Q is like %s but it safely shell quotes the string.
%R is like %Q but it prefixes the path with /sysroot.
Example usage (w/o error checks):
2014 Dec 03
1
Re: Virt-rescue problem
Thank You for your reply.
>What was the output of the 'virt-rescue --suggest -d XYZ'?
Inspecting the virtual machine or disk image ...
This disk contains one or more operating systems. You can use these mount
commands in virt-rescue (at the ><rescue> prompt) to mount the filesystems.
# /dev/sda1 is the root of a linux operating system
# type: linux, distro: ubuntu, version:
2016 Jun 01
0
[PATCH v2] rescue: add --autosysroot option RHBZ#1183493
--autosysroot option uses suggestions to user on how to mount filesystems
and change root suggested by --suggest option in virt-rescue.
Commands are passed on kernel command line in format
guestfs_command=command;. Command ends with a semicolon and there can be
multiple commands specified. These are executed just before bash starts.
On successfull run user is presented directly with bash in
2014 Dec 02
0
Re: Virt-rescue problem
On Tue, Dec 02, 2014 at 02:26:49PM +0000, Suvajit Sarkar wrote:
> Hello,
> I am trying to run this command
> virt-rescue --suggest -d XYZ
> virt-rescue --network -d XYZ
> the prompt is looking like this:
> I have no name!@(none):
This is probably:
https://bugzilla.redhat.com/show_bug.cgi?id=812970
It is supposed to be fixed in libguestfs >= 1.28.
> now I mounted the root
2014 Dec 02
2
Virt-rescue problem
Hello,
I am trying to run this command
virt-rescue --suggest -d XYZ
virt-rescue --network -d XYZ
the prompt is looking like this:
I have no name!@(none):
now I mounted the root partition suggested by virt-rescue to /sysroot
then chroot /sysroot
after that I tried to rebuild an initrd.img with the following command
update-initramfs -c -k 3.2.0-58-generic
But it failed with following error:
2009 Apr 15
1
hang with fsdlm
Using fsdlm/ocfs2_controld.cman, I've rerun the test I've been having problems
with on 2.6.30-rc1. After running for several minutes in the same directory
on three nodes, the test hangs, and I collect the following information:
bull-01
-------
3053 S< [ocfs2dc] ocfs2_downconvert_thread
3054 S< [dlm_astd] dlm_astd
3055 S< [dlm_scand]
2016 Jul 21
3
[PATCH] appliance: move virt-rescue welcome to /etc/issue
To allow easier downstream tweaks to the virt-rescue welcome message,
just output the content of the /etc/issue file in the appliance.
Thus, a new extras.tar.gz file appeared in supermin.d containing
the etc/issue file and future tweaks like this one.
---
appliance/Makefile.am | 11 +++++++++++
appliance/init | 11 ++---------
appliance/issue | 9 +++++++++
3 files changed, 22
2016 Apr 19
0
Bug#820862: AW: Bug#820862: Acknowledgement (xen-hypervisor-4.4-amd64: Xen VM on Jessie freezes often with INFO: task jbd2/xvda2-8:111 blocked for more than 120 seconds)
Dear XEN-Team
I've set up a complete new VM, tested copying and backuping with following error again:
[ 1920.052129] INFO: task jbd2/xvda2-8:98 blocked for more than 120 seconds.
[ 1920.052143] Not tainted 3.16.0-4-amd64 #1
[ 1920.052147] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1920.052153] jbd2/xvda2-8 D ffff880004986e78 0 98
2016 Jun 16
0
Re: [PATCH v2] rescue: add --autosysroot option RHBZ#1183493
On 06/09/2016 03:18 PM, Pino Toscano wrote:
> In data mercoledì 1 giugno 2016 02:04:33, Maros Zatko ha scritto:
>> --autosysroot option uses suggestions to user on how to mount filesystems
>> and change root suggested by --suggest option in virt-rescue.
> IMHO it should be called -i, like in the other tools, as what
> --autosysroot does is basically the same.
We can call it
2013 Mar 26
1
ext4 deadlock issue
I'm having an occasional problem with a box. It's a Supermicro 16-core
Xeon, running CentOS 6.3 with kernel 2.6.32-279.el6.x86_64, 96 gigs of
RAM, and an Areca 1882ix-24 RAID controller with 24 disks, 23 in RAID6
plus a hot spare. The RAID is divided into 3 partitions, two of 25 TB
plus one for the rest.
Lately, I've noticed sporadic hangs on writing to the RAID, which
2016 Apr 13
3
Bug#820862: xen-hypervisor-4.4-amd64: Xen VM on Jessie freezes often with INFO: task jbd2/xvda2-8:111 blocked for more than 120 seconds
Package: xen-hypervisor-4.4-amd64
Version: 4.4.1-9+deb8u4
Severity: grave
Justification: renders package unusable
Dear Maintainer,
* What led up to the situation?
Running Backup Exec or a copy command to NFS-Share causes the VM regurarly to freeze. First message on VM-Console:
---------------------------------------------------------------------------------------------------------------
2014 May 06
0
poor write performance or locking issues with ocfs2
Hello all,
I've got heavy troubles with my ocfs2 environment. Cluster filesystem worked fine for about 3-6 weeks after initial setup, but since 1 week performance issues occurs. I've already searched long time in google and on this mailing list but I wasn't able to found any solution. I've found a lot of posts with "same" problems but without the magic answer :-)
2016 Jun 09
2
Re: [PATCH v2] rescue: add --autosysroot option RHBZ#1183493
In data mercoledì 1 giugno 2016 02:04:33, Maros Zatko ha scritto:
> --autosysroot option uses suggestions to user on how to mount filesystems
> and change root suggested by --suggest option in virt-rescue.
IMHO it should be called -i, like in the other tools, as what
--autosysroot does is basically the same.
> Commands are passed on kernel command line in format
>
2010 Aug 11
3
Failure when mounting Lustre
Hi,
I get the following error when I try to mount lustre on the clients.
Permanent disk data:
Target: lustre-OSTffff
Index: unassigned
Lustre FS: lustre
Mount type: ldiskfs
Flags: 0x72
(OST needs_index first_time update )
Persistent mount opts: errors=remount-ro,extents,mballoc
Parameters: mgsnode=164.107.119.231 at tcp
sh: losetup: command not found
mkfs.lustre: error 32512 on losetup:
2009 Oct 26
1
[PATCH] New API: blkid_type - get the Linux VFS driver for a mounted device
This call wraps up some functionality of blkid so you can get the
Linux VFS driver for a mounted filesystem.
For example:
$ guestfish --ro -a /dev/vg_trick/Win2003x32 -m /dev/sda1 \
blkid_type /dev/sda1
ntfs
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many
2016 May 24
1
[PATCH] rescue: add --autosysroot option RHBZ#1183493
--autosysroot option uses suggestions to user on how to mount filesystems
and change root suggested by --suggest option in virt-rescue.
Commands are passed on kernel command line in format
guestfs_command=command;. Command ends with a semicolon and there can be
multiple commands specified. These are executed just before bash starts.
On successfull run user is presented directly with bash in