Red Hat Enterprise Linux 6 Server Instruction Guide for Creating Volume in Free Disk Space

Similar documents
1. Set up the storage to allow access to the LD(s) by the server following the NEC storage user guides.

CIS UNIX System Administration

Replacing a RazorSafe Hard Drive

As this method focuses on working with LVM, we will first confirm that our partition type is actually Linux LVM by running the below command.

Cloning and Repartitioning sessionmgr Disks

How To Resize ext3 Partitions Without Losing Data

Getting Started with Pentaho and Cloudera QuickStart VM

This section describes the procedures needed to add a new disk to a VM. vmkfstools -c 4g /vmfs/volumes/datastore_name/vmname/xxxx.

How to increase XenServer virtual machine root or swap partition

Changing user login password on templates

Installing VMware ESXi and vcenter for Cisco RMS

Novell SUSE Linux Enterprise Server

Implementing NVMe Drives on Lenovo Servers

MFT / Linux Setup Documentation May 25, 2008

7. Try shrinking / -- what happens? Why? Cannot shrink the volume since we can not umount the / logical volume.

Installing VMware ESXi and vcenter for Cisco RMS

Implementing Software RAID

Upgrade Cisco Interface Module for LoRaWAN IXM using the Console

SAP HANA Restore Guide (for A2040c SLES) 22 nd of April 2016 NEC SAP Global Competence Center

RocketRAID 2310/2300 Controller Fedora Linux Installation Guide

ONTAP Select with NVMe Storage

Ubuntu - How to Create Software RAID 1 in Ubuntu Linux - Tutorial

DUAL OS INSTALLATION

SAP HANA Backup Guide (for A2040d SLES) 23 rd of January 2017 NEC SAP Global Competence Center

Rocket RAID 2644 SAS Controller opensuse Linux Installation Guide

File System Case Studies. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Author : admin. 1. Getting information about current file system partitions with fdisk and mount

SAP HANA Restore Guide (for A2040d SLES) 23 rd of January 2017 NEC SAP Global Competence Center

Upgrading Prime Optical

Ubuntu Installation Manually Partition Windows 7 Create System Reserved

RocketRAID 2522 SATA Controller Ubuntu Linux Installation Guide

RAIDExpress 133 RAID USER MANUAL. Preliminary Specification 0.3

Data rate - The data rate is the number of bytes per second that the drive can deliver to the CPU.

Windows Method Using Linux Live CD and Gparted

Exam Name: Red Hat Certified Engineer on Redhat

This is Worksheet and Assignment 12. Disks, Partitions, and File Systems

How to add additional disks to XenServer host

SCSI RDMA Protocol. Introduction. Configuring SRP CHAPTER

Virtualization Provisioning & Centralized Management with iscsi. RACF Brookhaven National Laboratory James Pryor CHEP 2010

SLES Linux Installation Guide

Manage your disk space... for free :)

mdadm Contents From Wikipedia, the free encyclopedia mdadm is a Linux utility used to manage software RAID devices. mdadm

Enterprise Volume Management System Project. April 2002

Production Installation and Configuration. Openfiler NSA

Getting Started with BeagleBoard xm

Release notes for Flash Recovery Tool Version 10.0(2)

Guide to SATA Hard Disks Installation and RAID Configuration

File System Case Studies. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

NEC EXPRESS5800/R320a-E4 Configuration Guide

SAP HANA Backup Guide (for Ivy-Bridge Model)

NVIDIA RAID Installation Guide

STORAGE MANAGEMENT USING OPENFILER II

Disaster Recovery Workflow

Ubuntu Linux Installation Guide

NEC EXPRESS5800/R320b-M4 Configuration Guide

Disks & File Systems. Dick Gillman, ITSS. 1/19/06 10:20:11 am docs/disks.sxi

The Btrfs Filesystem. Chris Mason

CST8207 GNU/Linux O/S I Disks and Partitions

A+ Guide to Hardware, 4e. Chapter 7 Hard Drives

Linux+ Guide to Linux Certification, Third Edition. Chapter 2 Linux Installation and Usage

RocketRAID 231x/230x SATA Controller Debian Linux Installation Guide

RocketRAID 2680/2684 SAS Controller Red Hat Enterprise/CentOS Linux Installation Guide

Using iscsi On Debian Lenny (Initiator And Target)

An introduction to Logical Volume Management

Exam : 1Z Title : Enterprise Linux System Administration. Version : DEMO

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

jfield Documentation Release 1 Jason Field

How to Back-Up a fit-pc2 Using Only a USB Stick (and some creative partitioning)

Volume Management in Linux with EVMS

Freeing Disk Space on a Cryptshare Server. Applies to. Purpose. Solution. Freeing Disk Space on a Cryptshare Server. Situation.

environment) and note down the last "End" sector ( as shown in the below example):

iscsi storage is used as shared storage in Redhat cluster, VMware vsphere, Redhat Enterprise Virtualization Manager, Ovirt, etc.

RocketRAID 231x/230x SATA Controller Red Hat Enterprise/CentOS Linux Installation Guide

Oracle 1Z Enterprise Linux System Administration. Download Full Version :

Guide to SATA Hard Disks Installation and RAID Configuration

CST Algonquin College 2

NVIDIA RAID Installation Guide

Installing Prime Optical

Partitioning and Formatting Guide

Local File Stores. Job of a File Store. Physical Disk Layout CIS657

Nested Home Lab Setting up Shared Storage

CIS 191A Final Exam. Fall CIS 191 Final Exam

File System Case Studies. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Learn Linux, 101: Create partitions and filesystems

Bare Metal Server. User Guide. Issue 11 Date

A+ Guide to Managing and Maintaining your PC, 6e. Chapter 8 Hard Drives

Red Hat Network Satellite 5.0.0: Virtualization Step by Step

Lecture 29. Friday, March 23 CS 470 Operating Systems - Lecture 29 1

Disks, Filesystems 1

Disks, Filesystems, Booting Todd Kelley CST8177 Todd Kelley 1

Express5800/320Lb FT Linux System Release Notes

Back Up (And Restore) LVM Partitions With LVM Snapshots

SAP HANA Backup Guide (for A2040d RHEL) 23 rd of January 2017 NEC SAP Global Competence Center

3.5 Inch TFT Display

(Ubuntu 10.04), the installation command is slightly different.

Example Implementations of File Systems

Fedora Linux Installation Guide

CSE325 Principles of Operating Systems. Mass-Storage Systems. David P. Duggan. April 19, 2011

Installation of Lubuntu Linux, Koha, DSpace and other software using LibLiveCD

Modifying image file contents with Ghost Explorer. This section includes the following topics:

Transcription:

Red Hat Enterprise Linux 6 Server Instruction Guide for Creating Volume in Free Disk Space NEC Express Servers NEC Express5800/ft Series 1st Edition 03-2013

Introduction This document is intended as a guide to create an additional volume when Red Hat Enterprise Linux 6 Server and ft Server Control Software are installed on NEC Express5800/ft series and there is free disk space in the internal disk where the OS is installed. This document applies to the following models: - N8800-162/NEC Express5800/R320a-E4 - N8800-163/NEC Express5800/R320b-M4 IMPORTANT: To perform the following operations, use a maintenance service provider with expertise. The following operations must be performed as the root user.

1. Preparing for the Creation 1. Check device names of internal disks where the OS is installed and names of RAID devices in use by running the ftdiskadm command. The following example assumes that an internal disk where the OS is installed is inserted in slot 1 (slot 0 of CPU/IO module 0) and slot 9 (slot 0 of CPU/IO module 1). You can see that the device names are "/dev/sda" and "/dev/sdi," and that the RAID devices, "md0" through "md3," have already been created. # /opt/nec/ftras/sbin/ftdiskadm Command action 1 List RAID Arrays 2 List Internal Disks 3 Make Mirroring Arrays (RAID1) 4 Repair Mirroring Arrays (RAID1) 5 Delete Mirroring Arrays (RAID1) 6 Remove Disk Partitions (RAID1) 7 Make Striping Array (RAID1+0) 8 Delete Striping Array (RAID1+0) c Configurations q Quit Command: 1 [List RAID Arrays] Name Partition (Label) Status Member ================================================================= < Mirroring Array (RAID1) > md0 /boot ( - ) DUPLEX (1)sda1 (9)sdi1 md1 /var/crash ( - ) DUPLEX (1)sda2 (9)sdi2 md2 / ( - ) DUPLEX (1)sda3 (9)sdi3 md3 swap ( - ) DUPLEX (1)sda5 (9)sdi5 2. Check free disk space of the internal disks where the OS is installed by running the fdisk command or other method. 3. Based on results obtained in the earlier steps, decide the details of the volume you want to create. The examples shown in the following chapter provide steps for creating a partition of 1024 MB in each of the internal disks ("sda" and "sdi") and for creating the RAID1 device (md4).

2. Creating a Volume 1. Create an additional partition in free disk space of the disks in slot 1 (slot 0 of CPU/IO module 0) and slot 9 (slot 0 of CPU/IO module 1) by running the fdisk command. The following example adds a partition of 1024 MB in free disk space of the disk in slot 1 (slot 0 of CPU/IO module 0). <<< Run the fdisk command and type "p" to view partitions >>> # fdisk /dev/sda Command (m for help): p Disk /dev/sda: 73.2 GB, 73200476160 bytes 255 heads, 63 sectors/track, 8899 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optical): 512 bytes / 512 bytes Disk identifier: 0x000279e0 Device Boot Start End Blocks Id System /dev/sda1 * 1 33 262144 fd Linux raid autodetect Partition 1 does not end on cylinder boundary. /dev/sda2 33 3166 25165824 fd Linux raid autodetect /dev/sda3 3166 5255 16777216 fd Linux raid autodetect /dev/sda4 5255 8900 29278208 5 Extended /dev/sda5 5255 5516 2097152 fd Linux raid autodetect <<< Run the "n" command to create the additional partition (/dev/sda6), and then run the "t" command to change the "Id" to "fd (Linux raid autodetect)" >>> <<< To create multiple volumes, repeat this step >>> Command (m for help): n First cylinder (5516-8900, default 5516): Using default value 5516 Last cylinder, +cylinders or +size{k,m,g} (5516-8900, default 8900): +1024M

Command (m for help): t Partition number (1-6): 6 <<< Specify the created partition number >>> Hex code (type L to list codes): fd <<< Be sure to specify "fd" >>> Changed system type of partition 6 to fd (Linux raid autodetect) Command (m for help): w <<< Save changes >>> The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) Syncing disks. # <<< Repeat this step for slot 9 (slot 0 of CPU/IO module 1) as well. Note that the additional partition must be the same size >>> 2. Reboot the system because the added partition tables ("/dev/sda6" and "/dev/sdi6") are not loaded after saving partition settings in step 1. <<< Reboot the system >>> # /sbin/reboot

3. Specify the created partitions, and then create the new RAID1 device. This step specifies two partitions ("sda6" and "sdi6") to create the new RAID1 device (md4). # /sbin/mdadm --create /dev/md4 --metadata=1.1 --bitmap=internal --level=1 --raid-devices=2 /dev/sda6 /dev/sdi6 <<< If a message as shown below appears, type y >>> mdadm: /dev/sda6 appears to be part of a raid array: level=raid1 devices=2 ctime=thu Sup 6 16:47:38 2012 mdadm: /dev/sdi6 appears to be part of a raid array: level=raid1 devices=2 ctime=thu Sup 6 16:47:38 2012 Continue creating array? y mdadm: array /dev/md4 started. # 4. Create a filesystem in the new RAID device. # /sbin/mkfs -t ext3 /dev/md4 To create multiple volumes, repeat step 3 and 4.

5. Verify if the newly created RAID device is added. # /opt/nec/ftras/sbin/ftdiskadm Command action 1 List RAID Arrays 2 List Internal Disks 3 Make Mirroring Arrays (RAID1) 4 Repair Mirroring Arrays (RAID1) 5 Delete Mirroring Arrays (RAID1) 6 Remove Disk Partitions (RAID1) 7 Make Striping Array (RAID1+0) 8 Delete Striping Array (RAID1+0) c Configurations q Quit Command: 1 [List RAID Arrays] Name Partition (Label) Status Member ================================================================= < Mirroring Array (RAID1) > md0 /boot ( - ) DUPLEX (1)sda1 (9)sdi1 md1 /var/crash ( - ) DUPLEX (1)sda2 (9)sdi2 md2 / ( - ) DUPLEX (1)sda3 (9)sdi3 md3 swap ( - ) DUPLEX (1)sda5 (9)sdi5 md4 ( - ) DUPLEX (1)sda6 (9)sdi6 You can verify that the new RAID device "md4" is comprised of the added partitions, "/dev/sda6" and "/dev/sdi6."

6. Update the "mdadm.conf" file under the "etc" directory. <<< Create a backup file of the "mdadm.conf" file >>> # /bin/cp a /etc/mdadm.conf /etc/mdadm.bak <<< Create the "mdadm.conf" file >>> # /bin/echo 'DEVICE partitions' > /etc/mdadm.conf # /sbin/mdadm --detail --scan -v grep '^ARRAY' >> /etc/mdadm.conf 7. Update the boot image file. <<< Create a backup file of the boot image file >>> # /bin/mv /boot/initramfs-`uname -r`.img /boot/initramfs-`uname -r`.img.bak <<< Create the boot image file >>> # /sbin/dracut /boot/initramfs-`uname -r`.img `uname -r` <<< Check the result >>> # echo status=$? status=0 <<< If successful, "0" appears >>> IMPORTANT: If the "mdadm.conf" file and the boot image file are not created correctly in step 6 and 7, the system may not boot successfully. In the event that the system is unable to boot, you can boot the system by restoring the backup files created in the beginning of these steps; however, the newly created volume will be cleared. Before using the newly created volume, we recommend that you reboot the system after step 7 and then verify if the files are created correctly. To verify, refer to "3. Verifying if the Volume is Created."

3. Verifying if a Volume is Created 1. After creating a volume, reboot the system. <<< Reboot the system >>> # /sbin/reboot 2. After rebooting the system, verify if the newly created RAID device is added by running the ftdiskadm command. # /opt/nec/ftras/sbin/ftdiskadm Command action 1 List RAID Arrays 2 List Internal Disks 3 Make Mirroring Arrays (RAID1) 4 Repair Mirroring Arrays (RAID1) 5 Delete Mirroring Arrays (RAID1) 6 Remove Disk Partitions (RAID1) 7 Make Striping Array (RAID1+0) 8 Delete Striping Array (RAID1+0) c Configurations q Quit Command: 1 [List RAID Arrays] Name Partition (Label) Status Member ================================================================= < Mirroring Array (RAID1) > md0 /boot ( - ) DUPLEX (1)sda1 (9)sdi1 md1 /var/crash ( - ) DUPLEX (1)sda2 (9)sdi2 md2 / ( - ) DUPLEX (1)sda3 (9)sdi3 md3 swap ( - ) DUPLEX (1)sda5 (9)sdi5 md4 ( - ) DUPLEX (1)sda6 (9)sdi6 You can verify that the new RAID device "md4" is comprised of the added partitions, "/dev/sda6" and "/dev/sdi6."