While trying to mount a CIFs share folder you receive the following error:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
In addition to above, you can see in logs the following error messages if you have enabled verbose mode (-vvv)
kernel: [16984.537149] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
kernel: [16984.537157] CIFS VFS: Send error in SessSetup = -13
kernel: [16984.537346] CIFS VFS: cifs_mount failed w/return code = -13
That Read more...
XEN
1. First, you have to determine the Storage-Repository-UUID:
xe sr-list
-> write down / take note of SR-UUID of the SR to delete
2. Find the corresponding Physical Block Device (PBD):
xe pbd-list sr-uuid=your-SR-uuid
-> write down / take note of PBD-UUID of the PBD to unplug and delete
3. Unplug the PBD:
xe pbd-unplug uuid=your-PBD-uuid
4. Delete PBD:
xe pbd-destroy uuid=your-PBD-uuid
5. Delete the association of your SR and the PBD:
xe sr-forget uuid=your-SR-uuid
Example
[root@XenXourceServer Read more...
This script will make an export of all running machines in a XEN Source host and will be saved as .xva file.
This script mount a NFS shared resource (you can comment that part and use a local folder only).
This is the script I use for backing up my running Virtual machines each week.
#!/bin/bash
#
# Re-written by: Carlos V
#
#
DATE=`date +%d%B%y`
XSNAME=`echo $HOSTNAME` #This is the host where the script will run
BKPFOLDER=/mnt/exporta #folder to mount the NFS external exported Read more...
It is important to note there is a correlation between all the parameters
Memory limits must satisfy:
static_min ≤ dynamic_min = dynamic_max = static_max
To modify the memory configuration for a Virtual machine in XEN through the cli commands you will have to stop the server
# xe vm-shutdown name-label="machine name"
Review the current memory configuration with
# xe vm-list params=all name-label="machine name" | grep memory
you have to find the uuid of the machine, that can be showed Read more...
yum --enablerepo=base install package_name