Hello,

I am also working on the system in question in the original question.

I'm not used to creating  or mounting the partitions using the command line 
options.  I do that during the install using the text gui.  During that process 
I partitioned the single dasd for just swap and / .  I'd like know what it 
takes to simply add more and 'tack it on to the end' of the existing partition, 
if that's even possible.

I am able to bring devices online and do the low level format and am able to 
see the devices in /proc/dasd/devices... But, I could use more detail after 
that.

Thanks for any help you can provide.

HH
-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Grzegorz 
Powiedziuk
Sent: Thursday, August 6, 2015 3:16 PM
To: [email protected]
Subject: Re: Adding DASD to a Debian guest

Can you see them when you do
cat /proc/dasd/devices   ?
If not than first bring them online (chccwdev -e 0.0.XXXX) and then check again.
If they are there, than you are ready to do a low level format with dasdfmt  
/dev/dasdX     (/proc/dasd/devices will tell you which dasdX is that).
After that, create partitions (or not if you don’t want to) with fdasd 
/dev/dasdX Later you can create LVM (or not if you don’t want to) with 
pvcreate, vgcreate, lvcreate.
Last step is creating a filesystem with mkfs.ext4  (or ext3) on a new partition 
or logical volume. And now, you can mount it.

But you have to know that at this point you are also rewriting cylinder 0 of 
this DASD  (if it is really attached) so it’s label will change.


Let us know if you need more details

Grzegorz Powiedziuk



> On Aug 6, 2015, at 3:04 PM, Cameron Seay <[email protected]> wrote:
>
> of course Debian can't see it until it's in a Linux filesystem. We
> don't know how to format it while in Debian.


----------------------------------------------------------------------
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
----------------------------------------------------------------------
For more information on Linux on System z, visit http://wiki.linuxvm.org/
NOTICE: This e-mail correspondence is subject to Public Records Law and may be 
disclosed to third parties. ––
NOTICE: This e-mail correspondence is subject to Public Records Law and may be 
disclosed to third parties. ––

Reply via email to