Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ XenServer Virtual Machine Installation --- first ISO image file storage expansion     - Git uses a basic tutorial (Linux)

- Android custom slideshow menu slidmenu (Programming)

- CentOS 6.5 install VNC-Server (Linux)

- Android Studio utility plug organize, create sharp artifact (Programming)

- Simple security measures to reinforce the Linux kernel (Linux)

- Awk include binding capacity larger than the specified size of all files directory (Linux)

- tar command to extract a file error: stdin has more than one entry (Linux)

- Linux operating system, the internal and external security overview (Linux)

- Bash command substitution (Programming)

- Linux /var/spool/ insufficient clientmqueue space solutions (Linux)

- Security experience: to see how the experts deal with DDoS attacks (Linux)

- OpenStack package problems and solutions under CentOS6 (Linux)

- Make Linux more secure server tips (Linux)

- Python objects (Programming)

- Security Knowledge: redirection command application security (Linux)

- MySQL In can not be overridden with an internal connection (Database)

- HTML5 Fundamentals study notes (Programming)

- Linux automatic installation and implementation (Linux)

- Bash Automated Customization Linux belongs to its own CentOS system (Linux)

- Try to use Lets Encrypt (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:      
 
- Linux Shell Understanding and Learning (Linux)
- Linux System Getting Started Learning: Statistical process a number of threads in Linux (Linux)
- Introduction to Linux system process monitoring tools (Linux)
- Bash How to read a file line by line (Programming)
- Linux server security settings to close unused ports (Linux)
- Java polymorphic methods inside constructors complete analysis (Programming)
- CentOS 6.5 upgrade to CentOS 7 (Linux)
- On the PC goes heavy security watch your startup items (Linux)
- Packages with Snort intrusion monitoring light (Linux)
- Linux System Getting Started Learning: On Linux how to convert text files to PDF (Linux)
- Linux - use chroot command (Linux)
- Linux firewall iptables beginner tutorial (Linux)
- Apache site default home page settings (Server)
- Python image processing library (PIL) to install and simple to use (Linux)
- Linux system started to learn: Teaches you install Ubuntu 15.04 on VirtualBox (Linux)
- Sorting algorithm of dichotomy (binary) insertion sort algorithm (Programming)
- Linux Tutorial: Open multiple tabs in the GNOME terminal in Ubuntu 15.04 (Linux)
- Android custom slideshow menu slidmenu (Programming)
- MySQL optimization resulting order by using filesort (Database)
- RHEL5 / 6 Installation Notes (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.