via Pinboard


#interview with the vampire#iwtv#amc tvl#jacob anderson#sam reid



seen from United States
seen from Germany

seen from France
seen from Germany
seen from Türkiye
seen from United States

seen from United States
seen from United States
seen from United States

seen from United States

seen from United States

seen from Italy

seen from South Korea
seen from China

seen from United States
seen from United Kingdom

seen from Montenegro
seen from Singapore

seen from Malaysia

seen from Indonesia
via Pinboard
via Pinboard
Increasing a Linux Logical volume and file system
LVM is a logical Volume manager for the Liner Kernel; it manages disk drives and similar mass-storage devices.
A number of tools are provided for configuring LVM volumes and volume groups on most linux distributions. The first step is to gather information on file-system that we want to increase.
Use df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_talhafedoravbox-lv_root
76G 16G 60G 21% /
tmpfs 625M 8.2M 616M 2% /dev/shm
/dev/sda1 485M 49M 411M 11% /boot
Now lets say we want to increase the root filesystem on Volume Group vg_talhafedorabox. Then we need to figure out whether we have enough space available in that volume group.
Use
vgdisplay
--- Volume group ---
VG Name vg_talhafedoravbox
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 7
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 2
Act PV 2
VG Size 79.47 GiB
PE Size 32.00 MiB
Total PE 2543
Alloc PE / Size 2528 / 79.00 GiB
Free PE / Size 15 / 480.00 MiB
VG UUID SfbvVi-9mbU-c9zH-qNlO-mKpu-dY95-kqMEr0
The "Free PE/Size" shows the free space available to us in this volume group
Now to resize the vg,
Use
lvresize -L +480M /dev/mapper/vg_talhafedoravbox-lv_root
This command adjusts the size of the specified logical volume. Keep in mind, however, that this change is much like a change to a partition alone. That is, the size of the file system contained in the logical volume is not altered. To adjust the file system, you must use a file system-specific tool, such as resize2fs, resizereiserfs, xfs_growfs, or the resize mount option when mounting Journaled File System (JFS).
For ext2/ext3/ext3 systems Use
resize2fs -p /dev/mapper/vg_talhafedoravbox-lv_root
You can now check with df -h to confirm the new file-system size
IDEA: application and file-system
It would be wonderful if the project design could follow its logic according to file-system architecture where it is placed.
Creating a virtual file-system could be a nice solution for this. For example, if you define some namespace inside your application this namespace could be reflected in the real (id est, virtual) file-system during compilation/interpretation of source code. The same would happen with all the objects within the realm.