HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How to load/unload/eject Optical diskes with c...
Operating System - Linux
1827474
Members
2347
Online
109965
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-27-2003 09:55 PM
04-27-2003 09:55 PM
How to load/unload/eject Optical diskes with commands ?
Hi experts !
i'm using a HP SureStore 220mx Optical Jukebox with RedHat Linux 7.2 (with MO 9.1 GB diskes 2 slices)
i have to load/unload/eject and change side (a<-->b) manually (press buttons on the jukebox..) whenever i want to do.
anyone knows how to do it with some commands (so i can make a shell script to do automatically backing up and restoring files across multiple disk with both sides) ?
thanks in advanced !
i'm using a HP SureStore 220mx Optical Jukebox with RedHat Linux 7.2 (with MO 9.1 GB diskes 2 slices)
i have to load/unload/eject and change side (a<-->b) manually (press buttons on the jukebox..) whenever i want to do.
anyone knows how to do it with some commands (so i can make a shell script to do automatically backing up and restoring files across multiple disk with both sides) ?
thanks in advanced !
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2003 11:32 PM
04-27-2003 11:32 PM
Re: How to load/unload/eject Optical diskes with commands ?
Have you looked at the 'eject' command, and the 'mtx' commands?
I've not had opportunity to play with any of the SureStore jukeboxes, but for the tapes, the 'mtx' command is what allows you to manipulate them.
I can't recall if 'mtx' has an unload, but if it's the selected slice/disk/tape, the 'eject /dev/blah' should be sufficient.
If it shows up as an 'st' device, then you might need the '-q' flag to eject.
Hope this helps, or at lease gives you a path to discovery.
I've not had opportunity to play with any of the SureStore jukeboxes, but for the tapes, the 'mtx' command is what allows you to manipulate them.
I can't recall if 'mtx' has an unload, but if it's the selected slice/disk/tape, the 'eject /dev/blah' should be sufficient.
If it shows up as an 'st' device, then you might need the '-q' flag to eject.
Hope this helps, or at lease gives you a path to discovery.
One long-haired git at your service...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2003 03:23 AM
04-28-2003 03:23 AM
Re: How to load/unload/eject Optical diskes with commands ?
Hi !
i've already played with eject command: eject /dev/sda, but it didn't work. i think the OS must control Medium Changer (different ID) not diskes (right ?).
Thanks anyway !
BTW: why i must use 512 bytes sector size (not 4096) when i fdisk the new MO disk ?? (core dump occured when use default sector size)
i've already played with eject command: eject /dev/sda, but it didn't work. i think the OS must control Medium Changer (different ID) not diskes (right ?).
Thanks anyway !
BTW: why i must use 512 bytes sector size (not 4096) when i fdisk the new MO disk ?? (core dump occured when use default sector size)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP