OpenVZ Forum


Home » General » Support » Access to hard disk serial number (How to obtain physical disk serial numbers from within a container)
Access to hard disk serial number [message #47225] Wed, 25 July 2012 05:42 Go to next message
njcole
Messages: 1
Registered: July 2012
Junior Member
Is there anyway to obtain the serial number of the physical hard disks from inside a container, but without giving full access to the physical device?

Normally I would run udisks on a host system. Something like hdparm will work in a container, but only if I use devnodes to pass through the physical device.

Any assistance greatly appreciated.
Re: Access to hard disk serial number [message #47298 is a reply to message #47225] Thu, 26 July 2012 21:06 Go to previous message
dzimi is currently offline  dzimi
Messages: 22
Registered: December 2008
Junior Member
bind mount into container. Should work.
Previous Topic: File system inside CT when using Ploop
Next Topic: tail/multitail not working - vztop works
Goto Forum:
  


Current Time: Fri Oct 18 09:16:51 GMT 2024

Total time taken to generate the page: 0.04942 seconds