I have a step like this in each of my zfs clone jobs to do that sort of thing:

//ZFSADM1  EXEC PGM=IOEAGSLV,REGION=0M,                        
//  PARM=('-aggregate OMVS.PR02.ROOT.Z21RSA -recoveronly')     


Dana


On Tue, 7 Mar 2017 12:53:31 -0500, Carmen Vitullo <[email protected]> wrote:

>Great info John, thank you, I knew ZFS did some integrity check during mount 
>processing, you can see the delay's when you clone a ZFS FS from one system 
>and mount it to another, along with a nice little message that tells you he's 
>(zfs) is checking the file because the last owner was xxxyy... or soemthing 
>similar. 
>
>
>Carmen 
>
>----- Original Message -----
>
>From: "John McKown" <[email protected]> 
>To: [email protected] 
>Sent: Tuesday, March 7, 2017 11:07:46 AM 
>Subject: Re: Can you use IDCAMS REPRO on zFS files 
>
>On Tue, Mar 7, 2017 at 10:50 AM, R.S. <[email protected]> 
>wrote: 
>
>> W dniu 2017-03-06 o 14:37, Carmen Vitullo pisze: 
>> 
>>> I check the filesystems using the diff uss command 
>>> mount the new FS somewhere temporart like 
>>> /u/userid/tmp 
>>> then use the diff command to compare the dir and file structure write the 
>>> results to a compare.txt file 
>>> 
>>> 
>>> diff -r /u/userid/tmp /oldmount/ > /u/userid/compare.txt 
>>> that should give you an good idea the filesystem REPRO'D is the same as 
>>> the old 
>>> 
>> 
>> Yes, that's good for two filesystems (or just directory trees) comparison. 
>> However I did mean something like DOS/Windows chkdsk utility - to find 
>> logical errors. 
>> 
>
>​On a "real UNIX" system there is the "fsck" command which is the 
>equivalent. However, as I recall (no reference), IBM decided that their 
>filesystems were so perfect that such was an unneeded luxury. Again, as I 
>remember, when an HFS or zFS filesystem is mounted, a flag is set which 
>marks it as "dirty" (so to speak). When the filesystem is unmounted, the 
>flag is set as "clean". When a filesystem is mounted, this flag is tested. 
>If it is "dirty", then the mount process does the equivalent of a 
>filesystem integrity check. If you want to see what it does, just crash 
>your sandbox with UNIX active (a simple IPL will do it). This puts out some 
>messages when UNIX mounts the filesystems. ​ 
>
>
>
>> 
>> Regards 
>> -- 
>> Radoslaw Skorupka 
>> Lodz, Poland 
>> 
>> 
>> 
>> 
>> 
>> 
>> -- 
>> Treść tej wiadomości może zawierać informacje prawnie chronione Banku 
>> przeznaczone wyłącznie do użytku służbowego adresata. Odbiorcą może być 
>> jedynie jej adresat z wyłączeniem dostępu osób trzecich. Jeżeli nie jesteś 
>> adresatem niniejszej wiadomości lub pracownikiem upoważnionym do jej 
>> przekazania adresatowi, informujemy, że jej rozpowszechnianie, kopiowanie, 
>> rozprowadzanie lub inne działanie o podobnym charakterze jest prawnie 
>> zabronione i może być karalne. Jeżeli otrzymałeś tę wiadomość omyłkowo, 
>> prosimy niezwłocznie zawiadomić nadawcę wysyłając odpowiedź oraz trwale 
>> usunąć tę wiadomość włączając w to wszelkie jej kopie wydrukowane lub 
>> zapisane na dysku. 
>> 
>> This e-mail may contain legally privileged information of the Bank and is 
>> intended solely for business use of the addressee. This e-mail may only be 
>> received by the addressee and may not be disclosed to any third parties. If 
>> you are not the intended addressee of this e-mail or the employee 
>> authorized to forward it to the addressee, be advised that any 
>> dissemination, copying, distribution or any other similar activity is 
>> legally prohibited and may be punishable. If you received this e-mail by 
>> mistake please advise the sender immediately by using the reply facility in 
>> your e-mail software and delete permanently this e-mail including any 
>> copies of it either printed or saved to hard drive. 
>> 
>> mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 Warszawa, 
>> www.mBank.pl, e-mail: [email protected] 
>> Sąd Rejonowy dla m. st. Warszawy XII Wydział Gospodarczy Krajowego 
>> Rejestru Sądowego, nr rejestru przedsiębiorców KRS 0000025237, NIP: 
>> 526-021-50-88. Według stanu na dzień 01.01.2016 r. kapitał zakładowy mBanku 
>> S.A. (w całości wpłacony) wynosi 168.955.696 złotych. 
>> 
>> 
>> ---------------------------------------------------------------------- 
>> For IBM-MAIN subscribe / signoff / archive access instructions, 
>> send email to [email protected] with the message: INFO IBM-MAIN 
>> 
>
>
>
>-- 
>"Irrigation of the land with seawater desalinated by fusion power is 
>ancient. It's called 'rain'." -- Michael McClary, in alt.fusion 
>
>Maranatha! <>< 
>John McKown 
>
>---------------------------------------------------------------------- 
>For IBM-MAIN subscribe / signoff / archive access instructions, 
>send email to [email protected] with the message: INFO IBM-MAIN 
>
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to