Yes.  It works pretty much the same way as it does on Intel.  You use
the mdadm package to create raid arrays, but it's done at the partition
level.  Option "t" in fdasd can be used to change the partition type to
"Linux raid".

Typically, minidisk devices only have a single partition because it
doesn't make much sense to have more (just have more minidisks), but in
practice you can have up to three.

-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of
CHAPLIN, JAMES (CTR)
Sent: Thursday, March 05, 2009 4:16 PM
To: [email protected]
Subject: [LINUX-390] Creating RAID Arrays on zLinux / zVM minidisks

Okay, this is not real work, been working on my RHCT, and decided to
test what I can do on a PC to the zLinux platform.

I am trying to create a RAID-1 Array (two disks mirroring each other) in
a zVM environment. I created two minidisks in zVM and am trying to
format them on the zLinux side, using fdasd (instead of fdisk on the PC
side).

But I see no option to format "fd" the disks, with the interactive, it
keeps asking for partition number (here is the display):

(/root)#fdasd /dev/dasdk
reading volume label ..: VOL1
reading vtoc ..........: ok

Command action
   m   print this menu
   p   print the partition table
   n   add a new partition
   d   delete a partition
   v   change volume serial
   t   change partition type
   r   re-create VTOC and delete all partitions
   u   re-create VTOC re-using existing partition sizes
   s   show mapping (partition number - data set name)
   q   quit without saving changes
   w   write table to disk and exit

Command (m for help): t

Disk /dev/dasdk:
  cylinders ............: 750
  tracks per cylinder ..: 15
  blocks per track .....: 12
  bytes per block ......: 4096
  volume label .........: VOL1
  volume serial ........: 0X0205
  max partitions .......: 3

 ------------------------------- tracks -------------------------------
               Device      start      end   length   Id  System
                               2    11249    11248       unused

change partition type
partition id (use 0 to exit):

Has anyone played with "software" RAID on the mainframe Linux? 

James Chaplin
Systems Programmer, MVS, zVM & zLinux
Base Technologies, Inc

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--------------------------------------------------------------------------
This message w/attachments (message) may be privileged, confidential or 
proprietary, and if you are not an intended recipient, please notify the 
sender, do not use or share it and delete it. Unless specifically indicated, 
this message is not an offer to sell or a solicitation of any investment 
products or other financial product or service, an official confirmation of any 
transaction, or an official statement of Merrill Lynch. Subject to applicable 
law, Merrill Lynch may monitor, review and retain e-communications (EC) 
traveling through its networks/systems. The laws of the country of each 
sender/recipient may impact the handling of EC, and EC may be archived, 
supervised and produced in countries other than the country in which you are 
located. This message cannot be guaranteed to be secure or error-free. 
References to "Merrill Lynch" are references to any company in the Merrill 
Lynch & Co., Inc. group of companies, which are wholly-owned by Bank of America 
Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are 
Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a 
Condition to Any Banking Service or Activity * Are Not Insured by Any Federal 
Government Agency. Attachments that are part of this E-communication may have 
additional important disclosures and disclaimers, which you should read. This 
message is subject to terms available at the following link: 
http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you 
consent to the foregoing.
--------------------------------------------------------------------------
 

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to