In your procedure, fdasd /dev/dasdxx -- add a Linux partition to it p n (take defaults by pressing enter twice for starting and ending cyls) p W
Can be changed to fdasd -a /dev/dasdxx Which will create one partition on the disk, with no questions asked. -- Robert P. Nix Mayo Foundation RO-CE-8-857 200 First Street SW 507-284-0844 Rochester, MN 55905 ----- "In theory, theory and practice are the same, but in practice, theory and practice are different." -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Bishop, Peter G Sent: Thursday, August 18, 2005 6:42 PM To: [email protected] Subject: Re: Adding DASD Hi, Here's mine: ------------------------------------------------------------------------ --------------------------------------- adding a disk with the 2.4 kernel ================================== assume vdev is dddd, can add a range if need be echo "add device range=dddd[-dddd] ">>/proc/dasd/devices -- this does the add, use the [-dddd] to add a range cat /proc/dasd/devices -- to show the results dasdfmt -b 4096 -f /dev/dasd# -- format the new disk (the # will be replaced by the letter of the disk just added) fdasd /dev/dasdxx -- add a Linux partition to it p n (take defaults by pressing enter twice for starting and ending cyls) p w mke2fs -b 4096 /dev/dasdxx1 -- make a filesystem in the partition mkdir /mountpoint -- make a mount point for the new filesystem mount /dev/dasdxx1 /mountpoint -- mount the filesystem ---------------------------------------------------------------------- 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
