![]() ![]() However, for this to happen, you need to check the “Monitor this mount and keep it mounted” switch. Volume Manager can keep an eye on a mount and if a server goes down (and the mount disappears) Volume Manager will remount the share when the server comes back online. Better still it watches and makes sure that they stay mounted if the network status changes. Volume Manager does just what its says, it holds a list of volumes (hard drives on other computers) with the necessary username and password and will automatically mount them whenever you want. If you need to mount disks from elsewhere on your network then Volume Manager can make your life easier. Volume Manager can also be used to wake computers that are sleeping on an ethernet LAN. Optional scheduling of mounting also monitor mount and remount of shares. Laptops can use Volume Manager to manually or automatically mount volumes at work and at home. Easy to use Mac app to admin the mounting of Windows (SMB) and Apple shares. dev/mapper/ubuntu-vg-ubuntu-lv ext4 47G 6.2G 39G 14% /Īnd there’s our additional available space.Volume Manager is a Mac OSX application used to organize, automate and monitor the mounting of Windows (SMB) and Apple volumes/shares/disks. Let’s check our disk space out using non-LVM tools: # df -hT -text4įilesystem Type Size Used Avail Use% Mounted on ![]() We could do this as a separate step with filesystem-specific resizing tools, but it’s convenient to do it all at once. The –resizefs option automatically expands your ext or XFS filesystem to fit its new space. ![]() We could also have used –size, or its alias -L, to specify a hard number, like 20G or an amount to add on, like +10G: # lvresize -size +10G -resizefs ubuntu-vg/ubuntu-lv We use the extents option, or -l, to claim a percentage of the space. The filesystem on /dev/mapper/ubuntu-vg-ubuntu-lv is now 12463104 (4k) blocks long. Logical volume ubuntu-vg/ubuntu-lv successfully resized.įilesystem at /dev/mapper/ubuntu-vg-ubuntu-lv is mounted on / on-line resizing required Size of logical volume ubuntu-vg/ubuntu-lv changed from 20.00 GiB (5120 extents) to 47.54 GiB (12171 extents). We’ll do that with lvresize: # lvresize -extents +95%FREE -resizefs ubuntu-vg/ubuntu-lv Let’s add 95% of the available free space, saving the rest. VG UUID oLnK3Q-OHRI-sMbw-72IM-qj2J-rJCj-olnalTįinally, we can resize our Logical Volume, ubuntu-lv. Volume group "ubuntu-vg" successfully extended We’ll use the LVM command vgextend: # vgextend ubuntu-vg /dev/vdd We’ll next add our Physical Volume, /dev/vdd, to our Volume Group, ubuntu-vg. LV Creation host, time ubuntu-server, 01:13:58 +0000 LV UUID QsSEyX-tpie-TBuw-sI6w-g6jN-Tp60-da7xjP Right now, lvdisplay tells us its name, the VG it uses, and how much storage has been set aside: # lvdisplay ubuntu-lv Then we can let our Logical Volume know about it. We can verify that our Volume Group only includes our one Physical Volume (the drive partition /dev/vda3): # vgdisplay | grep PV Using vgdisplay, we’d see some similar information. Extents are a way filesystems measure block devices: a starting block and a length in blocks. We also note it’s a member of the ubuntu-vg Volume Group. PV UUID qYYC7J-VjMf-niyu-m9C3-KU1n-bys8-1cA0GO ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |