Fedora VirtualBox USB working

Scenario / Question: How do I get VirtualBox USB support to work in Fedora ? Solution / Answer: Configure usbfs to allow vboxusers access to USB devices and add usbfs mount to /etc/fstab Configure VirtualBox USB Obtain the GID of the vboxusers group (your GID may different then 501): # cat [continue...]

How should I run fsck on a Linux file system

Scenario / Question: I need to check file system for errors using fsck. Can I run fsck on a mounted file system ? Solution / Answer: Running fsck on a mounted file system can result in data corruption. The two options are: 1) Change the running state of the system to single user mode and unmount [continue...]

Unlink or Remove a Symbolic link in Linux

Scenario / Question: How to unlink or remove a symbolic in linux that was created with ln Solution / Answer: Use the unlink command To unlink a symbolic link file : # unlink symbolic_link_file To unlink a symbolic link to a directory : # unlink symbolic_link_dir When unlinking a directory make [continue...]

Linux NTFS Read and Write using NTFS-3G

Scenario / Question: How do I write or read from NTFS formated partition in linux Solution / Answer: Install and use the NTFS-3G Driver NTFS-3G Packages The ntfs-3g packages can be found on the NTFS-3G website NTFS-3G-Download You can also use yum to install NTFS-3G First you will need the [continue...]

Linux LVM Extend on Software RAID Partition

Scenario / Question: How do I extend my LVM to include another RAID Array partition Solution / Answer: Create a new Physical Volume Extend the Volume Group Extend the Logical Volume Resize the File System to the new size Display the current Physical Volumes: # pvdisplay --- Physical volume --- [continue...]

Linux adding and sharing a hot spare device in software RAID

Scenario / Question: How do I add a hot spare to my existing RAID Arrays and also have it shared among the RAID Arrays Solution / Answer: Use mdadm to hot add the new drive partition to the RAID Array Configure mdadm.conf to include “spare-group” setting Configure mdadm to run in [continue...]

Linux Software RAID 1 Array How to Manual Setup

Scenario / Question: Setup a RAID 1 Array in an existing system using two new hard drives. Solution / Answer: Check the Partition Table on the new drives and create a RAID partition. Create a new RAID 1 Array using the newly created partitions Create mdadm.conf configuration file for the RAID [continue...]