Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ XenServer Virtual Machine Installation --- first ISO image file storage expansion     - Spring AOP custom annotation way to achieve log management (Programming)

- Sorting algorithm of dichotomy (binary) insertion sort algorithm (Programming)

- How to use the beta / unstable version of the software in Debian library (Linux)

- There is sort of a directed acyclic graph topology (Programming)

- How to create a secure and easy to remember password (Linux)

- Arrow keys, backspace key garbled in Python-2.7.5 Interactive Mode under CentOS 5.8 (Linux)

- IBM Data Studio to create objects using ---- double quotes / sensitive issues and the table / column renaming (Database)

- Linux Security (Linux)

- How wifi-linux AP signal strength detection (Linux)

- STL in the list of erase () method (Programming)

- Text analysis tools - awk (Linux)

- Thinking in Java study notes - everything is an object (Programming)

- How to install Virtualbox 4.3.20 in Ubuntu 14.04 (Linux)

- Linux operating system set up to effectively prevent ARP attacks (Linux)

- Raspberry Pi 2 to install the latest version of the FPC and Lazarus 1.5 (Linux)

- Let Linux boot methods to enter characters interface and set FrameBuffer resolution methods (Linux)

- sqlplus connect to Oracle (Database)

- Hadoop2.0 configuration yarn success (Server)

- Virtual Judge structures under Ubuntu 14.04 (Server)

- You really do need to know a variety of programming languages (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:      
 
- Oracle SQL statement to retrieve data paging table (Database)
- Analysis examples: Intrusion Response Linux platform Case (Linux)
- Setting CentOS firewall open port (Linux)
- Mount NFS network file system (Linux)
- Graphical interface for the CentOS 6.4 installed and connected by remote VNC (Linux)
- Redis configuration file interpretation (Database)
- Try the command ip, ifconfig is obsolete under Linux (Linux)
- ORA-27054 NFS problem solving (Database)
- How ONLYOFFICE collaborative editing document on Linux (Linux)
- To install Scribus 1.4.4 under ubuntu (Linux)
- Java recognize simple codes (Programming)
- OpenGL ES 3.0 vertex buffer (Programming)
- Linux kernel modules related to the management Comments (Linux)
- The strings in Python reside (Programming)
- CentOS7 installation configuration Redis-3.0.0 (Database)
- Linux server is how to do after the invasion (Linux)
- 256 with rich colors decorate your terminal (Linux)
- HAProxy Windows version of the compiler and its application in the CORS (Server)
- Linux system with a firewall to prevent the DOS attack (Linux)
- Android gets the global process information and the memory used by the process (Programming)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.