Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ XenServer Virtual Machine Installation --- first ISO image file storage expansion     - RHEL 7.1 compile and install Ganglia 3.7.1 (Server)

- Android recyclerview cardview (Programming)

- Install apr support for Tomcat on Linux (Server)

- Ubuntu users to install Gnome-Pie 0.6.5 (Linux)

- Linux installed and tested the deployment of Kafka distributed cluster (Server)

- MySQL 5.5 on master-slave copy filter (Database)

- Linux RHCS basic maintenance commands (Linux)

- top command causes the system load increases (Linux)

- Intrusion prevention network server security maintenance tips (Linux)

- Ubuntu 14.04 Boot Repair (Linux)

- Android use canvas board painting (Programming)

- Linux crontab use (Linux)

- Linux linux system security (Linux)

- Introduction to Linux system process monitoring tools (Linux)

- Ubuntu install snmp packets Unlinked OID in IPATM-IPMC-MIB: marsMIB (Linux)

- Django Signals from practice to source code analysis (Programming)

- Oracle 11g DataGuard service to start automatically (Database)

- Common DDOS attacks (Linux)

- Samba public folder permissions (Server)

- Ubuntu security settings and tools (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:      
 
- Daemon under Linux (Linux)
- Linux Task Scheduler (at, crontab) (Linux)
- CentOS 6.4 dial-up Raiders (Linux)
- Linux kernel RCU (Read Copy Update) lock Brief - prequel (Linux)
- Linux systems for entry-learning - Install Go language in Linux (Linux)
- How to disable IPv6 on Ubuntu, Linux Mint, Debian (Linux)
- Oracle 11g RMAN virtual private directory (Database)
- Linux environment RabbitMQ installation and monitoring of plug-in installation (Linux)
- To install the iNode client on UbuntuKylin 13.10 (Linux)
- MySQL time field based partitioning scheme summary (Database)
- tar command to extract a file error: stdin has more than one entry (Linux)
- CentOS installation pycurl (Linux)
- C ++ based socket communication TCP and UDP (Programming)
- How Oracle implements random reads from specific combinations (Database)
- Ubuntu study notes and related problem solving (Linux)
- Linux prohibit non-WHEEL user su command Detail (Linux)
- Use Observium to monitor your network and servers (Server)
- Netcat Example (Linux)
- Implement Oracle dynamic registration of non-standard port 1521 (Database)
- RHEL5 / 6 Installation Notes (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.