You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried deleting the contents of /opt/mhvtl and running generate_library_contents. It runs OK with no errors reported but no tapes that are in library_contents.* were generated.
root@al {/etc/mhvtl}# make_vtl_media -C /etc/mhvtl
root@sal8ids {/etc/mhvtl}# make_vtl_media -C /etc/mhvtl
===> Reading from /etc/mhvtl/device.conf file to find Tape Libraries and Drives ...
===> Scanning for 'Slot' entries in /etc/mhvtl/library_contents.10 ...
Directory already exists: /opt/mhvtl/E01001L8: skipping
Directory already exists: /opt/mhvtl/E01002L8: skipping
Directory already exists: /opt/mhvtl/E01003L8: skipping
Directory already exists: /opt/mhvtl/E01004L8: skipping
Directory already exists: /opt/mhvtl/E01005L8: skipping
Directory already exists: /opt/mhvtl/E01006L8: skipping
Directory already exists: /opt/mhvtl/E01007L8: skipping
Directory already exists: /opt/mhvtl/E01008L8: skipping
Directory already exists: /opt/mhvtl/E01009L8: skipping
Directory already exists: /opt/mhvtl/E01010L8: skipping
Directory already exists: /opt/mhvtl/E01011L8: skipping
Directory already exists: /opt/mhvtl/E01012L8: skipping
Directory already exists: /opt/mhvtl/E01013L8: skipping
Directory already exists: /opt/mhvtl/E01014L8: skipping
Directory already exists: /opt/mhvtl/E01015L8: skipping
Directory already exists: /opt/mhvtl/E01016L8: skipping
Directory already exists: /opt/mhvtl/E01017L8: skipping
Directory already exists: /opt/mhvtl/E01018L8: skipping
Directory already exists: /opt/mhvtl/E01019L8: skipping
Directory already exists: /opt/mhvtl/E01020L8: skipping
===> Creating entry: /opt/mhvtl/F01030L8 ...
Creating tape data ...
Creating new media directory: /opt/mhvtl/F01030L8
Creating new media data file: /opt/mhvtl/F01030L8/data
Creating new media index file: /opt/mhvtl/F01030L8/indx
Creating new media meta file: /opt/mhvtl/F01030L8/meta
mktape: create_tape(): /opt/mhvtl/F01030L8 files created
===> Creating entry: /opt/mhvtl/F01031L8 ...
Creating tape data ...
Creating new media directory: /opt/mhvtl/F01031L8
Creating new media data file: /opt/mhvtl/F01031L8/data
Creating new media index file: /opt/mhvtl/F01031L8/indx
Creating new media meta file: /opt/mhvtl/F01031L8/meta
mktape: create_tape(): /opt/mhvtl/F01031L8 files created
===> Creating entry: /opt/mhvtl/F01032L8 ...
Creating tape data ...
Creating new media directory: /opt/mhvtl/F01032L8
Creating new media data file: /opt/mhvtl/F01032L8/data
Creating new media index file: /opt/mhvtl/F01032L8/indx
Creating new media meta file: /opt/mhvtl/F01032L8/meta
mktape: create_tape(): /opt/mhvtl/F01032L8 files created
===> Creating entry: /opt/mhvtl/F01033L8 ...
Creating tape data ...
Creating new media directory: /opt/mhvtl/F01033L8
Creating new media data file: /opt/mhvtl/F01033L8/data
Creating new media index file: /opt/mhvtl/F01033L8/indx
Creating new media meta file: /opt/mhvtl/F01033L8/meta
mktape: create_tape(): /opt/mhvtl/F01033L8 files created
===> Creating entry: /opt/mhvtl/F01034L8 ...
Creating tape data ...
Creating new media directory: /opt/mhvtl/F01034L8
Creating new media data file: /opt/mhvtl/F01034L8/data
Creating new media index file: /opt/mhvtl/F01034L8/indx
Creating new media meta file: /opt/mhvtl/F01034L8/meta
mktape: create_tape(): /opt/mhvtl/F01034L8 files created
===> Creating entry: /opt/mhvtl/F01035L8 ...
Creating tape data ... [74/198]
Creating new media directory: /opt/mhvtl/F01035L8
Creating new media data file: /opt/mhvtl/F01035L8/data
Creating new media index file: /opt/mhvtl/F01035L8/indx
Creating new media meta file: /opt/mhvtl/F01035L8/meta
mktape: create_tape(): /opt/mhvtl/F01035L8 files created
===> Creating entry: /opt/mhvtl/F01036L8 ...
Creating tape data ...
Creating new media directory: /opt/mhvtl/F01036L8
Creating new media data file: /opt/mhvtl/F01036L8/data
Creating new media index file: /opt/mhvtl/F01036L8/indx
Creating new media meta file: /opt/mhvtl/F01036L8/meta
mktape: create_tape(): /opt/mhvtl/F01036L8 files created
===> Creating entry: /opt/mhvtl/F01037L8 ...
Creating tape data ...
Creating new media directory: /opt/mhvtl/F01037L8
Creating new media data file: /opt/mhvtl/F01037L8/data
Creating new media index file: /opt/mhvtl/F01037L8/indx
Creating new media meta file: /opt/mhvtl/F01037L8/meta
mktape: create_tape(): /opt/mhvtl/F01037L8 files created
===> Creating entry: /opt/mhvtl/F01038L8 ...
Creating tape data ...
Creating new media directory: /opt/mhvtl/F01038L8
Creating new media data file: /opt/mhvtl/F01038L8/data
Creating new media index file: /opt/mhvtl/F01038L8/indx
Creating new media meta file: /opt/mhvtl/F01038L8/meta
mktape: create_tape(): /opt/mhvtl/F01038L8 files created
===> Creating entry: /opt/mhvtl/F01039L8 ...
Creating tape data ...
Creating new media directory: /opt/mhvtl/F01039L8
Creating new media data file: /opt/mhvtl/F01039L8/data
Creating new media index file: /opt/mhvtl/F01039L8/indx
Creating new media meta file: /opt/mhvtl/F01039L8/meta
mktape: create_tape(): /opt/mhvtl/F01039L8 files created
error: not found: /etc/mhvtl/library_contents.20
have you ran 'generate_library_contents'?
root@al {/etc/mhvtl}# ll
total 28
-rw-r--r-- 1 root root 5434 Oct 14 05:22 device.conf
-rw-r--r-- 1 root root 3600 Oct 14 05:41 device.orig
-rw-r--r--. 1 root root 1659 Oct 13 14:26 library_contents.10
-rw-r--r-- 1 root root 1659 Oct 14 05:24 library_contents.40
-rw-r--r-- 1 root root 1673 Oct 14 05:41 library_contents.orig
-rw-r--r--. 1 root root 295 Oct 13 04:26 mhvtl.conf
Any help as to what is going wrong here for me would be appreciated. Thank you.
The text was updated successfully, but these errors were encountered:
I cannot get mhvtl to create the 'tapes' in /opt/mhvtl for some reason.
I'm using the latest version from git (2022-10-13). AlmaLinux 8.6.
I have the following configuration:
device.conf
library_contents.10
library_contents.40
The drives are shown in lsscsi
The contents of /opt/mhvtl is what gets created during make install
I have tried deleting the contents of /opt/mhvtl and running generate_library_contents. It runs OK with no errors reported but no tapes that are in library_contents.* were generated.
Running make_vtl_media after that
Any help as to what is going wrong here for me would be appreciated. Thank you.
The text was updated successfully, but these errors were encountered: