Re: dasdfmt assistance
not entirely sure what the question is but you set the cdl format volser with the -l volser option. “l” being for label. Sent from my iPhone - Expect lots of typos!!! > On Jul 9, 2018, at 2:39 PM, Frank M. Ramaekers wrote: > > This response doesn't offer much help. Can anyone assist? > dasdfmt -b 4096 -d cdl -f /dev/dasdi -k -p -y > Try 'dasdfmt --help' for more information. > > The DASD devices defined: > have been formatted and labeled at the VM level. > have been added to directory for linux system. > Have been 'LINK' > On Linux it has been 'online' > > Using instructions found at: > https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/installation_guide/s1-s390info-adddasd > > Frank M. Ramaekers Jr. | Systems Programmer | Information Technology | > American Income Life Insurance Company | 254-761-6649 (732-6649) > > -- > This message contains information which is privileged and confidential and is > solely for the use of the intended recipient. If you are not the intended > recipient, be aware that any review, disclosure, copying, distribution, or > use of the contents of this message is strictly prohibited. If you have > received this in error, please destroy it immediately and notify us at > privacy...@torchmarkcorp.com. > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu 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/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
Yes, but I'm using the '-k' to keep the existing label. (This is the z/VM label as well, right?) Frank M. Ramaekers Jr. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Edward Gilroy Sent: Monday, July 9, 2018 1:52 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: dasdfmt assistance not entirely sure what the question is but you set the cdl format volser with the -l volser option. “l” being for label. Sent from my iPhone - Expect lots of typos!!! > On Jul 9, 2018, at 2:39 PM, Frank M. Ramaekers wrote: > > This response doesn't offer much help. Can anyone assist? > dasdfmt -b 4096 -d cdl -f /dev/dasdi -k -p -y Try 'dasdfmt --help' for > more information. > > The DASD devices defined: > have been formatted and labeled at the VM level. > have been added to directory for linux system. > Have been 'LINK' > On Linux it has been 'online' > > Using instructions found at: > https://urldefense.proofpoint.com/v2/url?u=https-3A__access.redhat.com > _documentation_en-2Dus_red-5Fhat-5Fenterprise-5Flinux_5_html_installat > ion-5Fguide_s1-2Ds390info-2Dadddasd&d=DwIFaQ&c=laxeQK7vPmHfouIIPNyCfbQ > d49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=l > yAFyzwVmzWTa5N_YR9OrlzBuuUKZKxcrsypnW1SoUc&s=qy2Y6adq4ap_XYmTbOCaK2tkv > ZmsEB5E0Qfk3QDA6s8&e= > > Frank M. Ramaekers Jr. | Systems Programmer | Information Technology | > American Income Life Insurance Company | 254-761-6649 (732-6649) > > -- > This message contains information which is privileged and confidential and is > solely for the use of the intended recipient. If you are not the intended > recipient, be aware that any review, disclosure, copying, distribution, or > use of the contents of this message is strictly prohibited. If you have > received this in error, please destroy it immediately and notify us at > privacy...@torchmarkcorp.com. > > -- > For LINUX-390 subscribe / signoff / archive access instructions, send > email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htb > in_wlvindex-3FLINUX-2D390&d=DwIFaQ&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U > 8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=lyAFyzwVmzW > Ta5N_YR9OrlzBuuUKZKxcrsypnW1SoUc&s=X5amqAVaG1ui4UHldbpJN6usnmU1A43nHyP > UBo1isjw&e= > -- > For more information on Linux on System z, visit > https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&; > d=DwIFaQ&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_ > TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=lyAFyzwVmzWTa5N_YR9OrlzBuuUKZKxcrsypn > W1SoUc&s=a-8cEJsAWjE9LRowx4z8RgPyMhd9axkVA-PVXqK-vL0&e= -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIFaQ&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=lyAFyzwVmzWTa5N_YR9OrlzBuuUKZKxcrsypnW1SoUc&s=X5amqAVaG1ui4UHldbpJN6usnmU1A43nHyPUBo1isjw&e= -- For more information on Linux on System z, visit https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&d=DwIFaQ&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=lyAFyzwVmzWTa5N_YR9OrlzBuuUKZKxcrsypnW1SoUc&s=a-8cEJsAWjE9LRowx4z8RgPyMhd9axkVA-PVXqK-vL0&e= -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
The response "Try 'dasdfmt --help' for more information" isn't very helpful. First, more information for what? There was no prior message. Secondly, the syntax appears good (as far as I can tell). I'm using the '-k' instead if the '-l volser' to keep the z/VM volume serial number: -l volser or --label=volser Specify the volume serial number or volume identifier to be written to disk after formatting. If no label is specified, a sensible default is used. volser is interpreted as ASCII string and is automatically converted to uppercase and then to EBCDIC. e.g. -l LNX001 or --label=DASD01 The volser identifies by serial number the volume. A volume serial number is 1 through 6 alphanumeric or one of the following special characters: $, #, @, %. Enclose a serial number that contains special characters in apostrophes. If the number is shorter than six characters, it is padded with trailing blanks. Do not code a volume serial number as SCRTCH, PRIVAT, or Ln (L with five numbers); these are used in OS/390 messages to ask the operator to mount a volume. Do not code a volume serial number as MIGRAT, which is used by the OS/390 Hierarchical Storage Manager DFSMShsm for migrated data sets. NOTE: Try to avoid using special characters in the volume serial. This may cause problems accessing a disk by volser. In case you really have to use special characters, make sure you are using quotes. In addition there is a special handling for the '$' sign. Please specify it using '\$' if necessary. e.g. -l 'a@b\$c#' to get A@B$C# -k or --keep_volser Keeps the Volume Serial Number, when writing the Volume Label. This is useful, if the Serial Number has been written with a VM Tool and should not be overwritten. Frank M. Ramaekers Jr. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Edward Gilroy Sent: Monday, July 9, 2018 1:52 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: dasdfmt assistance not entirely sure what the question is but you set the cdl format volser with the -l volser option. “l” being for label. Sent from my iPhone - Expect lots of typos!!! > On Jul 9, 2018, at 2:39 PM, Frank M. Ramaekers wrote: > > This response doesn't offer much help. Can anyone assist? > dasdfmt -b 4096 -d cdl -f /dev/dasdi -k -p -y Try 'dasdfmt --help' for > more information. > > The DASD devices defined: > have been formatted and labeled at the VM level. > have been added to directory for linux system. > Have been 'LINK' > On Linux it has been 'online' > > Using instructions found at: > https://urldefense.proofpoint.com/v2/url?u=https-3A__access.redhat.com > _documentation_en-2Dus_red-5Fhat-5Fenterprise-5Flinux_5_html_installat > ion-5Fguide_s1-2Ds390info-2Dadddasd&d=DwIFaQ&c=laxeQK7vPmHfouIIPNyCfbQ > d49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=l > yAFyzwVmzWTa5N_YR9OrlzBuuUKZKxcrsypnW1SoUc&s=qy2Y6adq4ap_XYmTbOCaK2tkv > ZmsEB5E0Qfk3QDA6s8&e= > > Frank M. Ramaekers Jr. | Systems Programmer | Information Technology | > American Income Life Insurance Company | 254-761-6649 (732-6649) > > -- > This message contains information which is privileged and confidential and is > solely for the use of the intended recipient. If you are not the intended > recipient, be aware that any review, disclosure, copying, distribution, or > use of the contents of this message is strictly prohibited. If you have > received this in error, please destroy it immediately and notify us at > privacy...@torchmarkcorp.com. > > -- > For LINUX-390 subscribe / signoff / archive access instructions, send > email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htb > in_wlvindex-3FLINUX-2D390&d=DwIFaQ&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U > 8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=lyAFyzwVmzW > Ta5N_YR9OrlzBuuUKZKxcrsypnW1SoUc&s=X5amqAVaG1ui4UHldbpJN6usnmU1A43nHyP > UBo1isjw&e= > -- > For more information on Linux on System z, visit > https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&; > d=DwIFaQ&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_ > TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=lyAFyzwVmzWTa5N_YR9OrlzBuuUKZKxcrsypn > W1So
Re: dasdfmt assistance
>>> On 7/9/2018 at 02:39 PM, "Frank M. Ramaekers" >>> wrote: > This response doesn't offer much help. Can anyone assist? > dasdfmt -b 4096 -d cdl -f /dev/dasdi -k -p -y > Try 'dasdfmt --help' for more information. What does "dasdfmt --help" display on that system? Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
>>> On 7/9/2018 at 02:39 PM, "Frank M. Ramaekers" >>> wrote: > This response doesn't offer much help. Can anyone assist? > dasdfmt -b 4096 -d cdl -f /dev/dasdi -k -p -y > Try 'dasdfmt --help' for more information. Does this work better? dasdfmt -b 4096 -d cdl -k -p -y -f /dev/dasdi Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
This is a ClefOS 7.5 system: dasdfmt --help Usage: dasdfmt [OPTIONS] DEVICE Use dasdfmt to format a DASD ECKD device for use by Linux. DEVICE is the node of the device (e.g. '/dev/dasda'). FORMAT ACTIONS -M, --mode MODE Specify scope of operation using MODE: full: Full device (default) quick: Only the first two tracks expand: Unformatted tracks at device end --check Perform complete format check on device FORMAT OPTIONS -b, --blocksize SIZE Format blocks to SIZE bytes (default 4096) -d, --disk_layout LAYOUT Specify the disk layout: cdl: Compatible Disk Layout (default) ldl: Linux Disk Layout -k, --keep_volser Do not change the current volume serial -l, --label VOLSERSpecify volume serial number -L, --no_labelDon't write a disk label -r, --requestsize NUM Process NUM cylinders in one formatting step --norecordzeroPrevent storage server from modifying record 0 -yStart formatting without further user-confirmation DISPLAY PROGRESS -m, --hashmarks NUM Show a hashmark every NUM cylinders -p, --progressbar Show a progressbar -P, --percentage Show progress in percent MISC -C, --check_host_countCheck if device is in use by other hosts -F, --force Format without performing sanity checking -t, --testRun in dry-run mode without modifying the DASD -vPrint verbose messages when executing -h, --helpPrint this help, then exit -V, --version Print version information, then exit Frank M. Ramaekers Jr. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post Sent: Monday, July 9, 2018 2:17 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: dasdfmt assistance >>> On 7/9/2018 at 02:39 PM, "Frank M. Ramaekers" >>> wrote: > This response doesn't offer much help. Can anyone assist? > dasdfmt -b 4096 -d cdl -f /dev/dasdi -k -p -y Try 'dasdfmt --help' for > more information. What does "dasdfmt --help" display on that system? Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=fM3hvHAovQcagOrvjWqc4DLorkybaU8wz-Hic4nJWYE&s=5fESHNkS9hHQrnA4LtM-AqJMqo9SGBVghwFBRxRXKeI&e= -- For more information on Linux on System z, visit https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=fM3hvHAovQcagOrvjWqc4DLorkybaU8wz-Hic4nJWYE&s=HhReHhglbxWlfJpQL5d8psQGmvqi87ckBaDI8dKS1gc&e= -- This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@torchmarkcorp.com. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
Same result: dasdfmt -b 4096 -d cdl -k -p -y -f /dev/dasdi Try 'dasdfmt --help' for more information. Frank M. Ramaekers Jr. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post Sent: Monday, July 9, 2018 2:22 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: dasdfmt assistance >>> On 7/9/2018 at 02:39 PM, "Frank M. Ramaekers" >>> wrote: > This response doesn't offer much help. Can anyone assist? > dasdfmt -b 4096 -d cdl -f /dev/dasdi -k -p -y Try 'dasdfmt --help' for > more information. Does this work better? dasdfmt -b 4096 -d cdl -k -p -y -f /dev/dasdi Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=MzIbcbMuO62O2qyAJWNChjWNF6vEgnQcCuLMZ2fqeNI&s=V2ISUHDn4YkcxCihUOTje9VbUsivrXxuY3J3z19oyRc&e= -- For more information on Linux on System z, visit https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=MzIbcbMuO62O2qyAJWNChjWNF6vEgnQcCuLMZ2fqeNI&s=bcaee6hY_0Sm6prAAfHThyWWMnZVXRsgXLfiRO3f2fo&e= -- This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@torchmarkcorp.com. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
Also... dasdfmt -V dasdfmt version 2.4.0-1.el7 Copyright IBM Corp. 1999, 2017 Frank M. Ramaekers Jr. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post Sent: Monday, July 9, 2018 2:22 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: dasdfmt assistance >>> On 7/9/2018 at 02:39 PM, "Frank M. Ramaekers" >>> wrote: > This response doesn't offer much help. Can anyone assist? > dasdfmt -b 4096 -d cdl -f /dev/dasdi -k -p -y Try 'dasdfmt --help' for > more information. Does this work better? dasdfmt -b 4096 -d cdl -k -p -y -f /dev/dasdi Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=MzIbcbMuO62O2qyAJWNChjWNF6vEgnQcCuLMZ2fqeNI&s=V2ISUHDn4YkcxCihUOTje9VbUsivrXxuY3J3z19oyRc&e= -- For more information on Linux on System z, visit https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=MzIbcbMuO62O2qyAJWNChjWNF6vEgnQcCuLMZ2fqeNI&s=bcaee6hY_0Sm6prAAfHThyWWMnZVXRsgXLfiRO3f2fo&e= -- This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@torchmarkcorp.com. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
On Monday, 07/09/2018 at 06:41 GMT, "Frank M. Ramaekers" wrote: > This response doesn't offer much help. Can anyone assist? > dasdfmt -b 4096 -d cdl -f /dev/dasdi -k -p -y > Try 'dasdfmt --help' for more information. > > The DASD devices defined: > have been formatted and labeled at the VM level. > have been added to directory for linux system. > Have been 'LINK' > On Linux it has been 'online' Is it a fullpack minidisk? If not, then you need to format/label the minidisk. Alan Altmark Senior Managing z/VM and Linux Consultant IBM Systems Lab Services IBM Z Delivery Practice ibm.com/systems/services/labservices office: 607.429.3323 mobile; 607.321.7556 alan_altm...@us.ibm.com IBM Endicott -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
Ahhhit's not. It's one cylinder short. MDISK 0109 3390 0001 10016 VM2F59 MR Frank M. Ramaekers Jr. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Alan Altmark Sent: Monday, July 9, 2018 2:53 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: dasdfmt assistance On Monday, 07/09/2018 at 06:41 GMT, "Frank M. Ramaekers" wrote: > This response doesn't offer much help. Can anyone assist? > dasdfmt -b 4096 -d cdl -f /dev/dasdi -k -p -y Try 'dasdfmt --help' for > more information. > > The DASD devices defined: > have been formatted and labeled at the VM level. > have been added to directory for linux system. > Have been 'LINK' > On Linux it has been 'online' Is it a fullpack minidisk? If not, then you need to format/label the minidisk. Alan Altmark Senior Managing z/VM and Linux Consultant IBM Systems Lab Services IBM Z Delivery Practice ibm.com/systems/services/labservices office: 607.429.3323 mobile; 607.321.7556 alan_altm...@us.ibm.com IBM Endicott -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=yCSc_d1MmpjLAjqKeFeBWYoNJCWRtQCz_BzaxJsr_Bk&s=gbjsY9TbMJKsfYu52-8ExP7DNb_QS_L8OtcZTpzJDpM&e= -- For more information on Linux on System z, visit https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=yCSc_d1MmpjLAjqKeFeBWYoNJCWRtQCz_BzaxJsr_Bk&s=QCg70UH8jCl-4twyIpLF_QSb3JuURpZkPOOXRGXy98A&e= -- This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@torchmarkcorp.com. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
Outside of Linux (it's a fullpack -1 cyl minidisk--reserving the 1st cyl for z/vm label and allocation map)? dasdfmt -b 4096 -d cdl -l LX0108 -p -y -f /dev/dasdi Try 'dasdfmt --help' for more information. Frank M. Ramaekers Jr. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Alan Altmark Sent: Monday, July 9, 2018 2:53 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: dasdfmt assistance On Monday, 07/09/2018 at 06:41 GMT, "Frank M. Ramaekers" wrote: > This response doesn't offer much help. Can anyone assist? > dasdfmt -b 4096 -d cdl -f /dev/dasdi -k -p -y Try 'dasdfmt --help' for > more information. > > The DASD devices defined: > have been formatted and labeled at the VM level. > have been added to directory for linux system. > Have been 'LINK' > On Linux it has been 'online' Is it a fullpack minidisk? If not, then you need to format/label the minidisk. Alan Altmark Senior Managing z/VM and Linux Consultant IBM Systems Lab Services IBM Z Delivery Practice ibm.com/systems/services/labservices office: 607.429.3323 mobile; 607.321.7556 alan_altm...@us.ibm.com IBM Endicott -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=yCSc_d1MmpjLAjqKeFeBWYoNJCWRtQCz_BzaxJsr_Bk&s=gbjsY9TbMJKsfYu52-8ExP7DNb_QS_L8OtcZTpzJDpM&e= -- For more information on Linux on System z, visit https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=yCSc_d1MmpjLAjqKeFeBWYoNJCWRtQCz_BzaxJsr_Bk&s=QCg70UH8jCl-4twyIpLF_QSb3JuURpZkPOOXRGXy98A&e= -- This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@torchmarkcorp.com. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
I don't see -f listed as a valid option. On Mon, Jul 9, 2018 at 3:28 PM Frank M. Ramaekers wrote: > > This is a ClefOS 7.5 system: > > dasdfmt --help > Usage: dasdfmt [OPTIONS] DEVICE > > Use dasdfmt to format a DASD ECKD device for use by Linux. > DEVICE is the node of the device (e.g. '/dev/dasda'). > > FORMAT ACTIONS > -M, --mode MODE Specify scope of operation using MODE: > full: Full device (default) > quick: Only the first two tracks > expand: Unformatted tracks at device end > --check Perform complete format check on device > > FORMAT OPTIONS > -b, --blocksize SIZE Format blocks to SIZE bytes (default 4096) > -d, --disk_layout LAYOUT Specify the disk layout: > cdl: Compatible Disk Layout (default) > ldl: Linux Disk Layout > -k, --keep_volser Do not change the current volume serial > -l, --label VOLSERSpecify volume serial number > -L, --no_labelDon't write a disk label > -r, --requestsize NUM Process NUM cylinders in one formatting step > --norecordzeroPrevent storage server from modifying record 0 > -yStart formatting without further user-confirmation > > DISPLAY PROGRESS > -m, --hashmarks NUM Show a hashmark every NUM cylinders > -p, --progressbar Show a progressbar > -P, --percentage Show progress in percent > > MISC > -C, --check_host_countCheck if device is in use by other hosts > -F, --force Format without performing sanity checking > -t, --testRun in dry-run mode without modifying the DASD > -vPrint verbose messages when executing > -h, --helpPrint this help, then exit > -V, --version Print version information, then exit > > Frank M. Ramaekers Jr. > > > -Original Message- > From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark > Post > Sent: Monday, July 9, 2018 2:17 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: dasdfmt assistance > > >>> On 7/9/2018 at 02:39 PM, "Frank M. Ramaekers" > >>> wrote: > > This response doesn't offer much help. Can anyone assist? > > dasdfmt -b 4096 -d cdl -f /dev/dasdi -k -p -y Try 'dasdfmt --help' for > > more information. > > What does "dasdfmt --help" display on that system? > > > Mark Post > > -- > For LINUX-390 subscribe / signoff / archive access instructions, send email > to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=fM3hvHAovQcagOrvjWqc4DLorkybaU8wz-Hic4nJWYE&s=5fESHNkS9hHQrnA4LtM-AqJMqo9SGBVghwFBRxRXKeI&e= > -- > For more information on Linux on System z, visit > https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=fM3hvHAovQcagOrvjWqc4DLorkybaU8wz-Hic4nJWYE&s=HhReHhglbxWlfJpQL5d8psQGmvqi87ckBaDI8dKS1gc&e= > > -- > This message contains information which is privileged and confidential and is > solely for the use of the intended recipient. If you are not the intended > recipient, be aware that any review, disclosure, copying, distribution, or > use of the contents of this message is strictly prohibited. If you have > received this in error, please destroy it immediately and notify us at > privacy...@torchmarkcorp.com. > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu 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/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
On Monday, 07/09/2018 at 07:58 GMT, "Frank M. Ramaekers" wrote: > Ahhhit's not. It's one cylinder short. > MDISK 0109 3390 0001 10016 VM2F59 MR I see code in dasdfmt on github: if (info.keep.volser) { : if (dasdfmt_get_volser(dev_filename, &info.dasd_info, old_volser) == 0) vtoc_volume_label_set_volser(&vlabel, old_volser); else ERRMSG_EXIT(EXIT_FAILURE, "%s: VOLSER not found on device %s\n", prog_name, dev_filename); } Somethin' ain't right. Alan Altmark Senior Managing z/VM and Linux Consultant IBM Systems Lab Services IBM Z Delivery Practice ibm.com/systems/services/labservices office: 607.429.3323 mobile; 607.321.7556 alan_altm...@us.ibm.com IBM Endicott -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
Good catch...the web page I was using has a '-f', but perhaps they meant '-F'...or possibly no longer viable. Without the nonexistent switch, it formats. Thanks, Frank M. Ramaekers Jr. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Neal Scheffler Sent: Monday, July 9, 2018 3:08 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: dasdfmt assistance I don't see -f listed as a valid option. On Mon, Jul 9, 2018 at 3:28 PM Frank M. Ramaekers wrote: > > This is a ClefOS 7.5 system: > > dasdfmt --help > Usage: dasdfmt [OPTIONS] DEVICE > > Use dasdfmt to format a DASD ECKD device for use by Linux. > DEVICE is the node of the device (e.g. '/dev/dasda'). > > FORMAT ACTIONS > -M, --mode MODE Specify scope of operation using MODE: > full: Full device (default) > quick: Only the first two tracks > expand: Unformatted tracks at device end > --check Perform complete format check on device > > FORMAT OPTIONS > -b, --blocksize SIZE Format blocks to SIZE bytes (default 4096) > -d, --disk_layout LAYOUT Specify the disk layout: > cdl: Compatible Disk Layout (default) > ldl: Linux Disk Layout > -k, --keep_volser Do not change the current volume serial > -l, --label VOLSERSpecify volume serial number > -L, --no_labelDon't write a disk label > -r, --requestsize NUM Process NUM cylinders in one formatting step > --norecordzeroPrevent storage server from modifying record 0 > -yStart formatting without further user-confirmation > > DISPLAY PROGRESS > -m, --hashmarks NUM Show a hashmark every NUM cylinders > -p, --progressbar Show a progressbar > -P, --percentage Show progress in percent > > MISC > -C, --check_host_countCheck if device is in use by other hosts > -F, --force Format without performing sanity checking > -t, --testRun in dry-run mode without modifying the DASD > -vPrint verbose messages when executing > -h, --helpPrint this help, then exit > -V, --version Print version information, then exit > > Frank M. Ramaekers Jr. > > > -Original Message- > From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of > Mark Post > Sent: Monday, July 9, 2018 2:17 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: dasdfmt assistance > > >>> On 7/9/2018 at 02:39 PM, "Frank M. Ramaekers" > >>> wrote: > > This response doesn't offer much help. Can anyone assist? > > dasdfmt -b 4096 -d cdl -f /dev/dasdi -k -p -y Try 'dasdfmt --help' > > for more information. > > What does "dasdfmt --help" display on that system? > > > Mark Post > > -- > For LINUX-390 subscribe / signoff / archive access instructions, send > email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htb > in_wlvindex-3FLINUX-2D390&d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U > 8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=fM3hvHAovQc > agOrvjWqc4DLorkybaU8wz-Hic4nJWYE&s=5fESHNkS9hHQrnA4LtM-AqJMqo9SGBVghwF > BRxRXKeI&e= > -- > For more information on Linux on System z, visit > https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&; > d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_ > TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=fM3hvHAovQcagOrvjWqc4DLorkybaU8wz-Hic > 4nJWYE&s=HhReHhglbxWlfJpQL5d8psQGmvqi87ckBaDI8dKS1gc&e= > > -- > This message contains information which is privileged and confidential and is > solely for the use of the intended recipient. If you are not the intended > recipient, be aware that any review, disclosure, copying, distribution, or > use of the contents of this message is strictly prohibited. If you have > received this in error, please destroy it immediately and notify us at > privacy...@torchmarkcorp.com. > > -- > For LINUX-390 subscribe / signoff / archive access instructions, send > email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > https://urlde
Re: dasdfmt assistance
On Monday, 07/09/2018 at 08:01 GMT, "Frank M. Ramaekers" wrote: > Outside of Linux (it's a fullpack -1 cyl minidisk--reserving the 1st cyl for > z/vm label and allocation map)? > > dasdfmt -b 4096 -d cdl -l LX0108 -p -y -f /dev/dasdi > Try 'dasdfmt --help' for more information. Once you formatted the entire volume with CPFMTXA, it was (mostly) filled with 4096-byte records of zero, erasing all residual data in the process. But dasdfmt is going to do it again (sans the -f option, as you found), writing the label. This can be done without re-formatting all the same cylinders again, but it's not worth it for only 10K cyls. Alan Altmark Senior Managing z/VM and Linux Consultant IBM Systems Lab Services IBM Z Delivery Practice ibm.com/systems/services/labservices office: 607.429.3323 mobile; 607.321.7556 alan_altm...@us.ibm.com IBM Endicott -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
On Mon, 9 Jul 2018, Frank M. Ramaekers wrote: > Good catch...the web page I was using has a '-f', but > perhaps they meant '-F'...or possibly no longer viable. > Without the nonexistent switch, it formats. There is a later s390utils in Red Hat's RawHide archive, with a man page showing a 2006 date. Neither that man page, nor the --help show the 'lower case f' option It rebuilds locally as a scratch build thus: $ rpmbuild --rebuild --define 'build_cflags %nil' --define \ 'build_ldflags %nil' s390utils-2.5.0-1.fc29.src.rpm Those two 'defines' are to accomodate some changes in rpmbuild in its macro set since the stabilization fork of their development line from about Fedora 19 or 20. We are about five years past that :) -- Russ herrold -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
In passing, I think you said this was a minidisk that was 1 cylinder short. Is cyl 0 the missing cyl, and the rest of the disk from 1-end the location of the minidisk? If so, there’s no label on the minidisk part to preserve- you need to supply one. The minidisk can’t see the real volume label in cyl 0 . > -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
-f doesn't appear to be an option on ClefOS. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Frank M. Ramaekers Sent: Monday, July 09, 2018 2:25 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: dasdfmt assistance This is a ClefOS 7.5 system: dasdfmt --help Usage: dasdfmt [OPTIONS] DEVICE Use dasdfmt to format a DASD ECKD device for use by Linux. DEVICE is the node of the device (e.g. '/dev/dasda'). FORMAT ACTIONS -M, --mode MODE Specify scope of operation using MODE: full: Full device (default) quick: Only the first two tracks expand: Unformatted tracks at device end --check Perform complete format check on device FORMAT OPTIONS -b, --blocksize SIZE Format blocks to SIZE bytes (default 4096) -d, --disk_layout LAYOUT Specify the disk layout: cdl: Compatible Disk Layout (default) ldl: Linux Disk Layout -k, --keep_volser Do not change the current volume serial -l, --label VOLSERSpecify volume serial number -L, --no_labelDon't write a disk label -r, --requestsize NUM Process NUM cylinders in one formatting step --norecordzeroPrevent storage server from modifying record 0 -yStart formatting without further user-confirmation DISPLAY PROGRESS -m, --hashmarks NUM Show a hashmark every NUM cylinders -p, --progressbar Show a progressbar -P, --percentage Show progress in percent MISC -C, --check_host_countCheck if device is in use by other hosts -F, --force Format without performing sanity checking -t, --testRun in dry-run mode without modifying the DASD -vPrint verbose messages when executing -h, --helpPrint this help, then exit -V, --version Print version information, then exit Frank M. Ramaekers Jr. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post Sent: Monday, July 9, 2018 2:17 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: dasdfmt assistance >>> On 7/9/2018 at 02:39 PM, "Frank M. Ramaekers" >>> wrote: > This response doesn't offer much help. Can anyone assist? > dasdfmt -b 4096 -d cdl -f /dev/dasdi -k -p -y Try 'dasdfmt --help' for > more information. What does "dasdfmt --help" display on that system? Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=fM3hvHAovQcagOrvjWqc4DLorkybaU8wz-Hic4nJWYE&s=5fESHNkS9hHQrnA4LtM-AqJMqo9SGBVghwFBRxRXKeI&e= -- For more information on Linux on System z, visit https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=fM3hvHAovQcagOrvjWqc4DLorkybaU8wz-Hic4nJWYE&s=HhReHhglbxWlfJpQL5d8psQGmvqi87ckBaDI8dKS1gc&e= -- This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@torchmarkcorp.com. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
ClefOS 7.5 uses s390utils 2.4: # dasdfmt -V dasdfmt version 2.4.0-1.el7 Copyright IBM Corp. 1999, 2017 On 7/10/18, 10:21, "Linux on 390 Port on behalf of Mike Hilliard" wrote: -f doesn't appear to be an option on ClefOS. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Frank M. Ramaekers Sent: Monday, July 09, 2018 2:25 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: dasdfmt assistance This is a ClefOS 7.5 system: dasdfmt --help Usage: dasdfmt [OPTIONS] DEVICE Use dasdfmt to format a DASD ECKD device for use by Linux. DEVICE is the node of the device (e.g. '/dev/dasda'). FORMAT ACTIONS -M, --mode MODE Specify scope of operation using MODE: full: Full device (default) quick: Only the first two tracks expand: Unformatted tracks at device end --check Perform complete format check on device FORMAT OPTIONS -b, --blocksize SIZE Format blocks to SIZE bytes (default 4096) -d, --disk_layout LAYOUT Specify the disk layout: cdl: Compatible Disk Layout (default) ldl: Linux Disk Layout -k, --keep_volser Do not change the current volume serial -l, --label VOLSERSpecify volume serial number -L, --no_labelDon't write a disk label -r, --requestsize NUM Process NUM cylinders in one formatting step --norecordzeroPrevent storage server from modifying record 0 -yStart formatting without further user-confirmation DISPLAY PROGRESS -m, --hashmarks NUM Show a hashmark every NUM cylinders -p, --progressbar Show a progressbar -P, --percentage Show progress in percent MISC -C, --check_host_countCheck if device is in use by other hosts -F, --force Format without performing sanity checking -t, --testRun in dry-run mode without modifying the DASD -vPrint verbose messages when executing -h, --helpPrint this help, then exit -V, --version Print version information, then exit Frank M. Ramaekers Jr. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post Sent: Monday, July 9, 2018 2:17 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: dasdfmt assistance >>> On 7/9/2018 at 02:39 PM, "Frank M. Ramaekers" wrote: > This response doesn't offer much help. Can anyone assist? > dasdfmt -b 4096 -d cdl -f /dev/dasdi -k -p -y Try 'dasdfmt --help' for > more information. What does "dasdfmt --help" display on that system? Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=fM3hvHAovQcagOrvjWqc4DLorkybaU8wz-Hic4nJWYE&s=5fESHNkS9hHQrnA4LtM-AqJMqo9SGBVghwFBRxRXKeI&e= -- For more information on Linux on System z, visit https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=fM3hvHAovQcagOrvjWqc4DLorkybaU8wz-Hic4nJWYE&s=HhReHhglbxWlfJpQL5d8psQGmvqi87ckBaDI8dKS1gc&e= -- This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@torchmarkcorp.com. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
The new "one sandwich short of a picnic" for IT: one cylinder short of a minidisk. On 7/10/18, 05:58, "Linux on 390 Port on behalf of Frank M. Ramaekers" wrote: Ahhhit's not. It's one cylinder short. MDISK 0109 3390 0001 10016 VM2F59 MR Frank M. Ramaekers Jr. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Alan Altmark Sent: Monday, July 9, 2018 2:53 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: dasdfmt assistance On Monday, 07/09/2018 at 06:41 GMT, "Frank M. Ramaekers" wrote: > This response doesn't offer much help. Can anyone assist? > dasdfmt -b 4096 -d cdl -f /dev/dasdi -k -p -y Try 'dasdfmt --help' for > more information. > > The DASD devices defined: > have been formatted and labeled at the VM level. > have been added to directory for linux system. > Have been 'LINK' > On Linux it has been 'online' Is it a fullpack minidisk? If not, then you need to format/label the minidisk. Alan Altmark Senior Managing z/VM and Linux Consultant IBM Systems Lab Services IBM Z Delivery Practice ibm.com/systems/services/labservices office: 607.429.3323 mobile; 607.321.7556 alan_altm...@us.ibm.com IBM Endicott -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=yCSc_d1MmpjLAjqKeFeBWYoNJCWRtQCz_BzaxJsr_Bk&s=gbjsY9TbMJKsfYu52-8ExP7DNb_QS_L8OtcZTpzJDpM&e= -- For more information on Linux on System z, visit https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&d=DwIFAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=yCSc_d1MmpjLAjqKeFeBWYoNJCWRtQCz_BzaxJsr_Bk&s=QCg70UH8jCl-4twyIpLF_QSb3JuURpZkPOOXRGXy98A&e= -- This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@torchmarkcorp.com. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
On 09.07.2018 21:25, Frank M. Ramaekers wrote: > Same result: > > dasdfmt -b 4096 -d cdl -k -p -y -f /dev/dasdi > Try 'dasdfmt --help' for more information. > > Frank M. Ramaekers Jr. > > > -Original Message- > From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark > Post > Sent: Monday, July 9, 2018 2:22 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: dasdfmt assistance > >>>> On 7/9/2018 at 02:39 PM, "Frank M. Ramaekers" >>>> wrote: >> This response doesn't offer much help. Can anyone assist? >> dasdfmt -b 4096 -d cdl -f /dev/dasdi -k -p -y Try 'dasdfmt --help' for >> more information. > > Does this work better? > dasdfmt -b 4096 -d cdl -k -p -y -f /dev/dasdi > > > Mark Post > Hi, just to clear things up, the option -f/--device was deprecated for quite some time and got removed with s390-tools 1.37.1: https://www.ibm.com/developerworks/linux/linux390/s390-tools-1.37.1.html Also, I agree that the message "Try --help..." isn't very helpful. There should be a bit more logic to it and tell the user what option was wrongly specified (will look into it). I saw that you were able to resize your volume. Are your dasdfmt issues solved? If not, let me know. Regards, Jan -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
Yes, this is correct. (That's what happens when you ASSuME) Frank M. Ramaekers Jr. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of David Boyes Sent: Monday, July 9, 2018 6:48 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: dasdfmt assistance In passing, I think you said this was a minidisk that was 1 cylinder short. Is cyl 0 the missing cyl, and the rest of the disk from 1-end the location of the minidisk? If so, there’s no label on the minidisk part to preserve- you need to supply one. The minidisk can’t see the real volume label in cyl 0 . > -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIFaQ&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=qO-bz8WiXRM79KknBo0XpTUtjChqQBjCyKr5l6IZzSs&s=mV_035sWJyn86CCtZMOJ1wwlPh4jlZezs5N8AP74Ldg&e= -- For more information on Linux on System z, visit https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&d=DwIFaQ&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=qO-bz8WiXRM79KknBo0XpTUtjChqQBjCyKr5l6IZzSs&s=bkqgANvMbR2M_3Fwlh0M_sGjVB_WoDbEELE9csPo6HQ&e= -- This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@torchmarkcorp.com. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance
On Tue, 10 Jul 2018, Jan Höppner wrote: > just to clear things up, the option -f/--device was deprecated > for quite some time and got removed with s390-tools 1.37.1: > > https://www.ibm.com/developerworks/linux/linux390/s390-tools-1.37.1.html hmmm ... a early 2017 removal Perhaps there is a workflow issue in s390-tools that the man page copyright needs to look at its checkin year, to accurately reflect when it was most recently changed in the emitted product -- Russ herrold -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance...next
Okay, I'm now stuck at expanding the logical volume (the whole purpose of this exercise was to expand the /home mount point). I'm to the point of: xfs_growfs /home xfs_growfs: /home is not a mounted XFS filesystem Hmmmnot a XFS, then what is it? 'df' only shows that it is a ext4: df -Th Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/clefos_mfclef00-root ext4 35G 7.7G 25G 24% / devtmpfs devtmpfs 481M 0 481M 0% /dev tmpfstmpfs 496M 0 496M 0% /dev/shm tmpfstmpfs 496M 44M 452M 9% /run tmpfstmpfs 496M 0 496M 0% /sys/fs/cgroup /dev/dasda1 ext4 976M 170M 740M 19% /boot /dev/mapper/clefos_mfclef00-home ext4 17G 17G 0 100% /home tmpfstmpfs 100M 0 100M 0% /run/user/1000 So, how do I know what filesystem was used for this? I have successfully: pvcreate vgextend lvextend LV info: --- Logical volume --- LV Path/dev/clefos_mfclef00/home LV Namehome VG Nameclefos_mfclef00 LV UUID41Fnrx-v3UJ-uH70-QBC6-WNhQ-a4TX-Jm3F3L LV Write Accessread/write LV Creation host, time mfclef00.torchmarkcorp.com, 2018-05-22 15:09:39 -0500 LV Status available # open 1 LV Size<30.81 GiB Current LE 7887 Segments 5 Allocation inherit Read ahead sectors auto - currently set to 8192 Block device 253:2 TIA, Frank M. Ramaekers Jr. -Original Message- From: Frank M. Ramaekers Sent: Monday, July 9, 2018 3:19 PM To: LINUX-390@VM.MARIST.EDU Subject: RE: dasdfmt assistance Good catch...the web page I was using has a '-f', but perhaps they meant '-F'...or possibly no longer viable. Without the nonexistent switch, it formats. Thanks, Frank M. Ramaekers Jr. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Neal Scheffler Sent: Monday, July 9, 2018 3:08 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: dasdfmt assistance I don't see -f listed as a valid option. On Mon, Jul 9, 2018 at 3:28 PM Frank M. Ramaekers wrote: > > This is a ClefOS 7.5 system: > > dasdfmt --help > Usage: dasdfmt [OPTIONS] DEVICE > > Use dasdfmt to format a DASD ECKD device for use by Linux. > DEVICE is the node of the device (e.g. '/dev/dasda'). > > FORMAT ACTIONS > -M, --mode MODE Specify scope of operation using MODE: > full: Full device (default) > quick: Only the first two tracks > expand: Unformatted tracks at device end > --check Perform complete format check on device > > FORMAT OPTIONS > -b, --blocksize SIZE Format blocks to SIZE bytes (default 4096) > -d, --disk_layout LAYOUT Specify the disk layout: > cdl: Compatible Disk Layout (default) > ldl: Linux Disk Layout > -k, --keep_volser Do not change the current volume serial > -l, --label VOLSERSpecify volume serial number > -L, --no_labelDon't write a disk label > -r, --requestsize NUM Process NUM cylinders in one formatting step > --norecordzeroPrevent storage server from modifying record 0 > -yStart formatting without further user-confirmation > > DISPLAY PROGRESS > -m, --hashmarks NUM Show a hashmark every NUM cylinders > -p, --progressbar Show a progressbar > -P, --percentage Show progress in percent > > MISC > -C, --check_host_countCheck if device is in use by other hosts > -F, --force Format without performing sanity checking > -t, --testRun in dry-run mode without modifying the DASD > -vPrint verbose messages when executing > -h, --helpPrint this help, then exit > -V, --version Print version information, then exit > > Frank M. Ramaekers Jr. > > > -----Original Message- > From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of > Mark Post > Sent: Monday, July 9, 2018 2:17 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: dasdfmt assistance > > >>> On 7/9/2018 at 02:39 PM, "Frank M. Ramaekers" > >>> wrote: > > This response doesn't offer much help. Can anyone assist? > > dasdfmt -b 4096 -d cdl -f /dev/dasdi -k -p -y Try 'dasdfmt --help' > > for more information. > > What does &qu
Re: dasdfmt assistance...next
On Mon, 9 Jul 2018, Frank M. Ramaekers wrote: > Okay, I'm now stuck at expanding the logical volume (the > whole purpose of this exercise was to expand the /home mount > point). > xfs_growfs /home > xfs_growfs: /home is not a mounted XFS filesystem > > Hmmmnot a XFS, then what is it? 'df' only shows that it is a ext4: xfs is a filesystem. So is ext4 see man mount If you want to expand a mount, I would probably just set up a: 1. new xfs partition of the desired size, and mount it, at say: /tmp/home 2. then rsync the content over: rsync -av /home/. /tmp/home/. 3. run the command twice, 'just in case' 4. umount /home, and /tmp/home 5. manually edit /etc/fstab to point to the new one 6. get SElinux properly set: a. # touch /.autorelabel b. # reboot (the system will relabel) The former [ext4 formated] /home/ partition may be scratched -- Russ herrold -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance...next
Resize2fs seems to work just fine: resize2fs /dev/mapper/clefos_mfclef00-home resize2fs 1.42.9 (28-Dec-2013) Filesystem at /dev/mapper/clefos_mfclef00-home is mounted on /home; on-line resizing required old_desc_blocks = 3, new_desc_blocks = 4 The filesystem on /dev/mapper/clefos_mfclef00-home is now 8076288 blocks long. Frank M. Ramaekers Jr. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of R P Herrold Sent: Monday, July 9, 2018 4:08 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: dasdfmt assistance...next On Mon, 9 Jul 2018, Frank M. Ramaekers wrote: > Okay, I'm now stuck at expanding the logical volume (the whole purpose > of this exercise was to expand the /home mount point). > xfs_growfs /home > xfs_growfs: /home is not a mounted XFS filesystem > > Hmmmnot a XFS, then what is it? 'df' only shows that it is a ext4: xfs is a filesystem. So is ext4 see man mount If you want to expand a mount, I would probably just set up a: 1. new xfs partition of the desired size, and mount it, at say: /tmp/home 2. then rsync the content over: rsync -av /home/. /tmp/home/. 3. run the command twice, 'just in case' 4. umount /home, and /tmp/home 5. manually edit /etc/fstab to point to the new one 6. get SElinux properly set: a. # touch /.autorelabel b. # reboot (the system will relabel) The former [ext4 formated] /home/ partition may be scratched -- Russ herrold -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIBAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=WTruvifGwehpeKadN8Hjr_KHkloQdeit0cYMhg0UmyU&s=trgd0qSOesx7mhGQ675iU30E8UbufEs2JzD-hIia1uc&e= -- For more information on Linux on System z, visit https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&d=DwIBAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=WTruvifGwehpeKadN8Hjr_KHkloQdeit0cYMhg0UmyU&s=pVKZWs7vwOODYtEYLVhyPLfK_f0UXOggqurU2h22K5g&e= -- This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@torchmarkcorp.com. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/
Re: dasdfmt assistance...next
Just noticed that there is a '-r' option on the lvextend command: -r|--resizefs Frank M. Ramaekers Jr. -Original Message- From: Frank M. Ramaekers Sent: Monday, July 9, 2018 5:05 PM To: LINUX-390@VM.MARIST.EDU Subject: RE: dasdfmt assistance...next Resize2fs seems to work just fine: resize2fs /dev/mapper/clefos_mfclef00-home resize2fs 1.42.9 (28-Dec-2013) Filesystem at /dev/mapper/clefos_mfclef00-home is mounted on /home; on-line resizing required old_desc_blocks = 3, new_desc_blocks = 4 The filesystem on /dev/mapper/clefos_mfclef00-home is now 8076288 blocks long. Frank M. Ramaekers Jr. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of R P Herrold Sent: Monday, July 9, 2018 4:08 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: dasdfmt assistance...next On Mon, 9 Jul 2018, Frank M. Ramaekers wrote: > Okay, I'm now stuck at expanding the logical volume (the whole purpose > of this exercise was to expand the /home mount point). > xfs_growfs /home > xfs_growfs: /home is not a mounted XFS filesystem > > Hmmmnot a XFS, then what is it? 'df' only shows that it is a ext4: xfs is a filesystem. So is ext4 see man mount If you want to expand a mount, I would probably just set up a: 1. new xfs partition of the desired size, and mount it, at say: /tmp/home 2. then rsync the content over: rsync -av /home/. /tmp/home/. 3. run the command twice, 'just in case' 4. umount /home, and /tmp/home 5. manually edit /etc/fstab to point to the new one 6. get SElinux properly set: a. # touch /.autorelabel b. # reboot (the system will relabel) The former [ext4 formated] /home/ partition may be scratched -- Russ herrold -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIBAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=WTruvifGwehpeKadN8Hjr_KHkloQdeit0cYMhg0UmyU&s=trgd0qSOesx7mhGQ675iU30E8UbufEs2JzD-hIia1uc&e= -- For more information on Linux on System z, visit https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&d=DwIBAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=WTruvifGwehpeKadN8Hjr_KHkloQdeit0cYMhg0UmyU&s=pVKZWs7vwOODYtEYLVhyPLfK_f0UXOggqurU2h22K5g&e= -- This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@torchmarkcorp.com. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/