[ 
https://issues.apache.org/jira/browse/TS-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235647#comment-13235647
 ] 

Leif Hedstrom commented on TS-1161:
-----------------------------------

Yeah, don't use e.g. /dev/sda. Use /dev/disk/by-uuid/...   or 
/dev/disk/by-path/...  or some such, and make sure you get it right. :)

I guess we could try to detect if a disk is in use, I don't know if there are 
any portable and reliable ways to detect that (but, I haven't looked). It's not 
as easy as looking via "mount" etc., you have to take into account various 
other disk managers, such as LLVM, or even just the software raid layers.
                
> insafe raw device in storage.config
> -----------------------------------
>
>                 Key: TS-1161
>                 URL: https://issues.apache.org/jira/browse/TS-1161
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: Zhao Yongming
>
> if you system is on /dev/sda and you put /dev/sda into storage.config, TS 
> will destroy the data on /dev/sda without any hesitate.
> this is proved to be true, please do not try, trust me.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to