[jira] [Commented] (TS-1161) insafe raw device in storage.config

2012-10-09 Thread Yunkai Zhang (JIRA)

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

Yunkai Zhang commented on TS-1161:
--

By reading this page from redhat:
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Online_Storage_Reconfiguration_Guide/persistent_naming.html

We can learn that only /dev/disk/by-id/... (not /dev/sda or /dev/disk/by-path 
or /dev/disk/by-uuid) should be used in storage.config for safe reason.

 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
 Fix For: 3.3.1


 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
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (TS-1161) insafe raw device in storage.config

2012-03-22 Thread Leif Hedstrom (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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