Skip to main content

Posts

Showing posts from August, 2012

Logical Volume Linux

This article describes a basic logic behind a Linux logical volume manager by showing real examples of configuration and usage. Although Debian Linux will be used for this tutorial, you can also apply the same command line syntax with other Linux distributions such as Red Hat, Mandriva, SuSe Linux and others. 1. This is what we are going to do 2. Create Partitions For this Linux lvm example you need an unpartitioned hard disk /dev/sdb. First you need to create physical volumes. To do this you need partitions or a whole disk. It is possible to run pvcreate command on /dev/sdb, but I prefer to use partitions and from partitions I later create physical volumes. Use your preferred partitioning tool to create partitions. In this example I have used cfdisk. Partitions are ready to use. 3. Create physical volumes Use the pvcreate command to create physical volumes. # pvcreate /dev/sdb1 # pvcreate /dev/sdb2 The pvdisplay command displays all physical volumes on your system.

NFS -Linux

Remote Disk Access with NFS Contents [ hide ] 1 Introduction 2 NFS Operation Overview 2.1 General NFS Rules 2.2 Key NFS Concepts 2.2.1 VFS 2.2.2 Stateless Operation 2.2.3 Caching 2.2.4 NFS And Symbolic Links 2.2.5 NFS Background Mounting 2.2.6 Hard and Soft Mounts 2.2.7 NFS Versions 2.3 Important NFS Daemons 3 Installing NFS 4 A Typical NFS Scenario 4.1 Configuring NFS on The Server 4.1.1 The /etc/exports File 4.1.2 Starting NFS on the Server 4.2 Configuring NFS on The Client 4.2.1 Starting NFS on the Client 4.2.2 NFS And DNS 4.3 Accessing NFS Server Directories from the Client 4.3.1 The /etc/fstab File 4.3.2 Table 29.1 Possible NFS Mount Options 4.3.3 Permanently Mounting The NFS Directory 4.3.4 Manually Mounting NFS File Systems 5 Activating Modifications To The /etc/exports File