11.01.2015 Views

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 22. Additional Information for IBM System z Users<br />

5. Adding DASD<br />

The following is an example of how to add a DASD volume:<br />

Note<br />

Make sure the device is attached or linked to the <strong>Linux</strong> system if running under<br />

VM.<br />

CP LINK RHEL4X 4B2E 4B2E MR<br />

DASD 4B2E LINKED R/W<br />

Procedure 22.1. Bringing a disk online<br />

1. Use the cd <strong>com</strong>mand to change to the /sys/ directory that represents that volume:<br />

# cd /sys/bus/ccw/drivers/dasd-eckd/0.0.4b2e/<br />

# ls -l<br />

total 0<br />

-r--r--r-- 1 root root 4096 Aug 25 17:04 availability<br />

-rw-r--r-- 1 root root 4096 Aug 25 17:04 cmb_enable<br />

-r--r--r-- 1 root root 4096 Aug 25 17:04 cutype<br />

-rw-r--r-- 1 root root 4096 Aug 25 17:04 detach_state<br />

-r--r--r-- 1 root root 4096 Aug 25 17:04 devtype<br />

-r--r--r-- 1 root root 4096 Aug 25 17:04 discipline<br />

-rw-r--r-- 1 root root 4096 Aug 25 17:04 online<br />

-rw-r--r-- 1 root root 4096 Aug 25 17:04 readonly<br />

-rw-r--r-- 1 root root 4096 Aug 25 17:04 use_diag<br />

2. Next, check to see if it is already online:<br />

# cat online<br />

0<br />

3. If it is not online, run the following <strong>com</strong>mand to bring it online:<br />

# echo 1 > online<br />

# cat online<br />

1<br />

4. Verify which block devnode it is being accessed as:<br />

# ls -l<br />

230

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!