lsiutil is the program you want, so you can check the status of your raid
link: http://docs.avagotech.com/docs/12351668
lsiutil is the program you want, so you can check the status of your raid
link: http://docs.avagotech.com/docs/12351668
link: https://adamscheller.com/systems-administration/xenserver-local-iso-storage-new-partition/
for posterity…
figure out the name of the volume group (something like name-uuid)
pvscan
create the new volume
lvcreate -L 150G -n ISOs name-uuid
find the volume you just created
lvscan |grep ISO
create the filesystem
mkfs.ext2 /dev/other-name-uuid/ISOs
make the mount point
mkdir /mnt/isos
create the repository
xe sr-create name-label=ISOs type=iso device-config:legacy_mode=true device-config:location=/mnt/isos content-type=iso
mount the disk
mount -t ext2 /dev/name-uuid/ISOs /mnt/isos
This will let you pick a uuid
xe pif-list
this will let you change the ip of that uuid
xe pif-reconfigure-ip uuid= mode=static IP=192.168.1.1 netmask=255.255.255.0
CAUTION: with the following the system is up so you risk file loss, data loss, etc. — use at your own risk.
Ideally you would shutdown your domU and use vm-export rather than vm-snapshot.
make a snapshot
xe vm-snapshot vm=name new-name-label=name-foo
this returns a uuid
xe vm-export vm=UUID filename=|bzip2 > file.xva.bz2
move the file about
scp 192.168.1.2:file.xva.bz2 file.xva.bz2
import the snapshot
cat file.xva.bz2 |ssh 192.168.1.1 "bunzip2|/opt/xensource/bin/xe vm-import filename=/dev/stdin"
then recreate the clone from the snapshot template under openxenmanager or other management tool.