SLES 11 SP2: Storage Administration Guide About This Guide
Total Page:16
File Type:pdf, Size:1020Kb
www.suse.com/documentation Storage Administration Guide Linux Enterprise Server 11 SP2 September 28, 2012 Legal Notices Copyright © 2006–2012 Novell, Inc. and contributors. All rights reserved. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or (at your option) version 1.3; with the Invariant Section being this copyright notice and license. A copy of the license version 1.2 is included in the section entitled “GNU Free Documentation License”. All information found in this book has been compiled with utmost attention to detail. However, this does not guarantee complete accuracy. Neither Novell, Inc., SUSE LINUX Products GmbH, the authors, nor the translators shall be held liable for possible errors or the consequences thereof. Trademarks For Novell trademarks, see the Novell Trademark and Service Mark list (http://www.novell.com/company/legal/trademarks/ tmlist.html). Linux* is a registered trademark of Linus Torvalds. All other third party trademarks are the property of their respective owners. A trademark symbol (®, ™, etc.) denotes a Novell trademark; an asterisk (*) denotes a third party trademark. Contents About This Guide 11 1 Overview of File Systems in Linux 13 1.1 Terminology . 13 1.2 Major File Systems in Linux . 14 1.2.1 Btrfs . 14 1.2.2 Ext2 . 17 1.2.3 Ext3 . 17 1.2.4 ReiserFS . 18 1.2.5 XFS . 19 1.2.6 Feature Comparison . 20 1.3 Other Supported File Systems . 21 1.4 Large File Support in Linux . 21 1.5 Managing Devices with the YaST2 Partitioner. .22 1.6 Additional Information . 22 2 What’s New for Storage in SLES 11 25 2.1 What’s New in SLES 11 SP2 . 25 2.2 What’s New in SLES 11 SP1 . 25 2.2.1 Saving iSCSI Target Information . 26 2.2.2 Modifying Authentication Parameters in the iSCSI Initiator . 26 2.2.3 Allowing Persistent Reservations for MPIO Devices . 26 2.2.4 MDADM 3.0.2 . 26 2.2.5 Boot Loader Support for MDRAID External Metadata . 26 2.2.6 YaST Install and Boot Support for MDRAID External Metadata . 26 2.2.7 Improved Shutdown for MDRAID Arrays that Contain the Root File System . 27 2.2.8 MD over iSCSI Devices . .27 2.2.9 MD-SGPIO. 27 2.2.10 Resizing LVM 2 Mirrors . 27 2.2.11 Updating Storage Drivers for Adapters on IBM Servers . 27 2.3 What’s New in SLES 11 . 28 2.3.1 EVMS2 Is Deprecated . .28 2.3.2 Ext3 as the Default File System. 28 2.3.3 JFS File System Is Deprecated . 28 2.3.4 OCFS2 File System Is in the High Availability Release. 29 2.3.5 /dev/disk/by-name Is Deprecated . 29 2.3.6 Device Name Persistence in the /dev/disk/by-id Directory . 29 2.3.7 Filters for Multipathed Devices . .29 2.3.8 User-Friendly Names for Multipathed Devices . 29 2.3.9 Advanced I/O Load-Balancing Options for Multipath. 30 2.3.10 Location Change for Multipath Tool Callouts. 30 2.3.11 Change from mpath to multipath for the mkinitrd -f Option . 30 2.3.12 Change from Multibus to Failover as the Default Setting for the MPIO Path Grouping Policy . 30 3 Planning a Storage Solution 31 3.1 Partitioning Devices . 31 3.2 Multipath Support . 31 Contents 3 3.3 Software RAID Support . 31 3.4 File System Snapshots . 31 3.5 Backup and Antivirus Support . 32 3.5.1 Open Source Backup. 32 3.5.2 Commercial Backup and Antivirus Support . 32 4 LVM Configuration 33 4.1 Understanding the Logical Volume Manager . .33 4.2 Creating LVM Partitions . 35 4.3 Creating Volume Groups . 36 4.4 Configuring Physical Volumes . 38 4.5 Configuring Logical Volumes . 39 4.6 Tagging LVM2 Storage Objects . 41 4.6.1 Using LVM2 Tags . 42 4.6.2 Requirements for Creating LVM2 Tags . 42 4.6.3 Command Line Tag Syntax . 43 4.6.4 Configuration File Syntax. 43 4.6.5 Using Tags for a Simple Activation Control in a Cluster . 44 4.6.6 Using Tags to Activate On Preferred Hosts in a Cluster . 45 4.7 Resizing a Volume Group . 46 4.8 Resizing a Logical Volume with YaST . 47 4.9 Resizing a Logical Volume with Commands . .48 4.10 Deleting a Volume Group. 49 4.11 Deleting an LVM Partition (Physical Volume) . 49 5 Resizing File Systems 51 5.1 Guidelines for.