Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ XenServer Virtual Machine Installation --- first ISO image file storage expansion     - MySQL 5.6 database code changes (Database)

- rpm package specify the installation path (Linux)

- CentOS 7 How to connect to a wireless network (Linux)

- Analysis of Java reflection mechanism (Programming)

- Deepin Tutorial: Depth Description Installer expert mode (Linux)

- Ubuntu install Avast antivirus software (Programming)

- The traffic monitoring system: cacti (Linux)

- Zabbix Agent for Linux Installation and Configuration (Server)

- SUSE Linux install Oracle 10g and problem solving (Linux)

- Using LLVM Clang and Blocks under Linux (Programming)

- Ambari and Hadoop configuration, management and monitoring of the project Getting (Server)

- Ubuntu system grub repair method (Linux)

- CentOS 7 Configure logging (VirtualBox) (Linux)

- How to install and use the Snort in Ubuntu 15.04 (Linux)

- Weld a problem in JDK 8u60 environment (Programming)

- CentOS installation pycurl (Linux)

- Caffe + Ubuntu 14.04 64bit + CUDA 6.5 configuration instructions (Linux)

- Iptables Instructions (Linux)

- Oracle PLS-00231 error analysis (Database)

- Kibana use installation (Linux)

 
         
  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:      
 
- Preps - Print within the specified range of IP addresses (Linux)
- C # C ++ Java interface type conversion (Programming)
- Linux kernel programming parameter passing between modules and function calls (Programming)
- Oracle partition table data migration, process management automation (Database)
- Database Blob data type conversion String (Programming)
- Linux modify environment variables method (Linux)
- 29 practical examples Linux system / network administrator of nmap (Linux)
- Monitoring network traffic with Iptraf in Linux environment (Linux)
- Modern Objective-C syntax and new features (Programming)
- Java Foundation - Variables and data types (Programming)
- How to use the on-screen keyboard in Linux (Linux)
- Linux process management related content (Linux)
- Linux installed Cisco Packet Tracer (Linux)
- Github Getting Started Basic Course (Linux)
- Nginx configuration support f4v video format player (Server)
- Apache Spark1.1.0 deployment and development environment to build (Server)
- How to Install Suricata IDS on a Linux system (Server)
- How to create a new file system / partitions under Linux terminal (Linux)
- Linux Apache server configure to protect system security (Linux)
- LVM basic concepts, management (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.