Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ XenServer Virtual Machine Installation --- first ISO image file storage expansion     - Ubuntu GCC, G ++ and fortran Version Switch (Linux)

- C ++ Fundamentals study notes (Programming)

- Win7 used Eclipse to connect the virtual machine in Ubuntu Hadoop2.4 (Server)

- Go build the locale under Windows (Linux)

- Use Mop monitor stock prices at the Linux command line (Linux)

- MySQL + Corosync + Pacemaker + DRBD build highly available MySQL (Server)

- CUDA (including GPU card driver) installation process under Ubuntu (Linux)

- GitHub multiplayer co-development configuration (Linux)

- Linux system security configuration Collection (Linux)

- Linux system security knowledge (Linux)

- On event processing browser compatibility notes (Programming)

- Linux command ls (Linux)

- Lazarus IDE Start Basics Tutorial (Linux)

- CentOS directory structure Explanation (Linux)

- Python type way of comparison (Programming)

- Fedora 22 installation and configuration optimization (Linux)

- Ubuntu download install and configure Plank Dock (Linux)

- RHEL 6.5 KVM analytical use (Server)

- Django url () function Detailed (Programming)

- Acquaintance C ++: the most simple C ++ program (Programming)

 
         
  XenServer Virtual Machine Installation --- first ISO image file storage expansion
     
  Add Date : 2017-08-31      
         
       
         
  We all know xenserver installed, no matter how big your disk, only 4G space.

Therefore, action is: the new LV volume, size can be customized

1, vgdisplay # to view the remaining space

[Root @ XenServer /] # vgdisplay

--- Volume group ---
VG Name VG_XenStorage-205eecff-2466-84fe-56d5-81472e44f3c2
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 8
VG Access read / write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 11.99 GB
PE Size 4.00 MB
Total PE 3069
Alloc PE / Size 1 / 4.00 MB
Free PE / Size 3068 / 11.98 GB
VG UUID gdk23O-Ugch-ygeb-wiZc-aoIr-QbTL-XoQqfx

2, lvdisplay VG_XenStorage-205eecff-2466-84fe-56d5-81472e44f3c2 # View area

[Root @ XenServer /] # lvdisplay VG_XenStorage-205eecff-2466-84fe-56d5-81472e44f3c2

--- Logical volume ---
LV Name / dev / VG_XenStorage-205eecff-2466-84fe-56d5-81472e44f3c2 / MGT
VG Name VG_XenStorage-205eecff-2466-84fe-56d5-81472e44f3c2
LV UUID qnsQew-gAqU-IEqr-rGsF-jO3j-crwE-eNHqx5
LV Write Access read / write
LV Status NOT available
LV Size 4.00 MB
Current LE 1
Segments 1
Allocation inherit
Read ahead sectors auto

3, lvcreate -L 20GB -n iso VG_XenStorage-205eecff-2466-84fe-56d5-81472e44f3c2 # 20G New lv volume of iso

[Root @ XenServer /] # lvcreate -L 20GB -n iso VG_XenStorage-205eecff-2466-84fe-56d5-81472e44f3c2

Logical volume "lviso" created

Incidentally How to add space:

[Root @ XenServer /] # lvcreate -n lviso -L + 6G VG_XenStorage-205eecff-2466-84fe-56d5-81472e44f3c2

Logical volume "lviso" created

4, lvdisplay VG_XenStorage-205eecff-2466-84fe-56d5-81472e44f3c2 # See the district again

[Root @ XenServer /] # lvdisplay VG_XenStorage-205eecff-2466-84fe-56d5-81472e44f3c2

--- Logical volume ---
LV Name / dev / VG_XenStorage-205eecff-2466-84fe-56d5-81472e44f3c2 / MGT
VG Name VG_XenStorage-205eecff-2466-84fe-56d5-81472e44f3c2
LV UUID qnsQew-gAqU-IEqr-rGsF-jO3j-crwE-eNHqx5
LV Write Access read / write
LV Status NOT available
LV Size 4.00 MB
Current LE 1
Segments 1
Allocation inherit
Read ahead sectors auto

--- Logical volume ---
LV Name / dev / VG_XenStorage-205eecff-2466-84fe-56d5-81472e44f3c2 / iso
VG Name VG_XenStorage-205eecff-2466-84fe-56d5-81472e44f3c2
LV UUID lmJmYH-OiRW-gQle-nCJk-Y9M9-zVev-JGvrqK
LV Write Access read / write
LV Status available
# Open 0
LV Size 20.00 GB
Current LE 1536
Segments 1
Allocation inherit
Read ahead sectors auto
- Currently set to 1024
Block device 252: 1

5, mkfs.ext3 / dev / VG_XenStorage-205eecff-2466-84fe-56d5-81472e44f3c2 / iso # formatted as ext3 format

[Root @ XenServer /] # mkfs.ext3 / dev / VG_XenStorage-205eecff-2466-84fe-56d5-81472e44f3c2 / iso
[Root @ XenServer /] #

6, mkdir / iso # build iso folder in the root directory to mount the ISO image file

[Root @ XenServer /] # mkdir / iso
[Root @ XenServer /] #

7, vgchange -a y # activate all volume groups

8, mount / dev / VG_XenStorage-205eecff-2466-84fe-56d5-81472e44f3c2 / lviso / iso # mount / ISO folder iso image file

[Root @ XenServer /] # mount / dev / VG_XenStorage-205eecff-2466-84fe-56d5-81472e44f3c2 / lviso / iso
[Root @ XenServer /] #

9, df -h # View volume

[Root @ XenServer /] # df -h

Filesystem Size Used Avail Use% Mounted on
/ Dev / sda1 4.0G 1.7G 2.1G 46% /
none 380M 0 380M 0% / dev / shm
/opt/xensource/packages/iso/XenCenter.iso
44M 44M 0 100% / var / xen / xc-install
/ Dev / mapper / XSLocalEXT - 5983fa21--42bd - 0cd6 - aafd - 78534a7908f7-5983fa21--42bd - 0cd6 - aafd - 78534a7908f7
9.9G 911M 8.5G 10% / var / run / sr-mount / 5983fa21-42bd-0cd6-aafd-78534a7908f7
/ Dev / mapper / VG_XenStorage - 205eecff - 2466--84fe - 56d5--81472e44f3c2-lviso
6.0G 141M 5.5G 3% / ISO

10, the downloaded iso image file uploaded to the software by Xftp / iso directory Note change file permissions 755

In which you can go to the XenCenter client operations
     
         
       
         
  More:      
 
- Row-level security and application-level solutions for the new features of PostgreSQL9.5 (Database)
- Getting Started with Linux system to learn: how to install autossh (Linux)
- Log4j configuration file Explanation (Linux)
- Linux using DenyHosts prevents ssh cracks (Linux)
- Linux Getting Started tutorial: Experience VirtualBox Virtual Machine chapter (Linux)
- Import and export myloader accelerate mydumper (Database)
- Linux System Getting Started Learning: Fix ImportError: No module named scapy.all (Linux)
- Deploy Apache Spark cluster environment in Ubuntu (Server)
- Shell programming entry (Programming)
- Five Linux user space debugging tool (Linux)
- Golang use Oracle database on Ubuntu 14.04 (Linux)
- How to use Android Studio development / debugging Android source code (Linux)
- How to install GIMP 2.8.16 in Ubuntu 16.04,15.10,14.04 (Linux)
- Java multithreading easy to confuse the concept (Programming)
- Talking about the shortcomings and deficiencies of the firewall (Linux)
- Python implementation Bursa transition model (Programming)
- To compile and install Clang 3.5.0 in Linux CentOS (Linux)
- Resolve the host via KVM console can not connect clients (Linux)
- imp / exp Oracle Database import and export commands (Database)
- Oracle PL / SQL based cursor (Database)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.