- Community Home
- >
- Storage
- >
- Data Protection and Retention
- >
- HPE StoreEver Tape Storage
- >
- Re: LTFS StoreOpen - Windows Command Line Operatio...
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2023 07:28 AM - last edited on 06-30-2023 04:40 AM by support_s
06-28-2023 07:28 AM - last edited on 06-30-2023 04:40 AM by support_s
LTFS StoreOpen - Windows Command Line Operations
Currently on HPE StoreOpen Standalone 3.5.0 with a HPE LTO Ultrium-8 drive.
Although the "LTFS Configuration" GUI utility works fine, I would prefer the command line utility for scripting purposes. This ships with a Windows command-line application ltfs.exe, however after consulting the "advanced help" via the ltfs -a command, I am still unable to figure out how to do the following:
- physically eject cartridge
For example, i try to physically eject an LTFS cartridge mounted to drive F:, I tried this command
ltfs F:\ -o eject
but results in the following error message in the cmd window:
ERROR: Running as a console only supported in debug mode.
- Tags:
- StoreEver tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2023 04:35 AM - edited 06-30-2023 04:37 AM
06-30-2023 04:35 AM - edited 06-30-2023 04:37 AM
Re: LTFS StoreOpen - Windows Command Line Operations
Good day!
The error message you encountered suggests that the command you used to physically eject the cartridge is incompatible with the console-only mode. To resolve this issue, you need to run the ltfs.exe command in debug mode.
Let me know if that helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2023 05:11 AM
06-30-2023 05:11 AM
Re: LTFS StoreOpen - Windows Command Line Operations
Oh? Is that so? I wouldn't have dreamed that a message saying that the command is only supported in debug mode would tell me to run the command in debug mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2023 05:25 AM
06-30-2023 05:25 AM
Re: LTFS StoreOpen - Windows Command Line Operations
>> Open a command prompt as an administrator.
>> Navigate to the directory where the ltfs.exe command is located. For example, if it's installed in the "C:\Program Files\LTFS" directory, you can use the following command to change the directory:
cd C:\Program Files\LTFS
>> Run the ltfs.exe command in debug mode using the "-d" option. Here's an example command to physically eject the cartridge from drive F:
ltfs.exe -d F:\ -o eject
>>By using the "-d" option, you enable debug mode, which allows you to use the eject command successfully. Make sure you replace "ltfs.exe" with the actual name of the executable file if it differs in your system.
Note: Debug mode may produce additional output for troubleshooting purposes. If you don't require the debug information, you can redirect the output to a file by appending "> output.txt" to the command. This way, the output will be saved in the "output.txt" file for further analysis if needed.
After executing the command, the LTFS utility should attempt to physically eject the cartridge from the specified drive. Please ensure that there are no active file operations or open files on the cartridge, as it may prevent ejection.
I hope this helps! Let me know how it goes....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2023 11:45 PM
07-12-2023 11:45 PM
Re: LTFS StoreOpen - Windows Command Line Operations
Hello @Hannes334,
Let us know if you were able to resolve the issue.
If you have no further query and you are satisfied with the answer then kindly mark the topic as Solved so that it is helpful for all community members.