Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-02-2012, 04:51 PM
|
#1
|
Member
Registered: Mar 2012
Location: Evansville,IN
Distribution: Manjaro KDE
Posts: 58
Rep:
|
Hotswap Drives in Debian?
I have a total of 4 HDDs plus a boot drive(SSD). For the time being, due to the design of the MSI P67A-G45 mobo, I can not access all my SATA ports as my GPU is blocking them. Because of this design flaw, I need to hotswap my HDDs from time to time. It seems that they auto mount fine but the problem is I do not have permission to access. How can I resolve this?
|
|
|
06-03-2012, 03:18 AM
|
#2
|
Senior Member
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753
|
Are you running 2 x video cards (crossfire, SLI or for some other reason)?
The SATA slots could be blocked by a video card in the PCIe x8 slot, but even then it should be possible to use them. If its a single video card, it should be run in the PCIe x16 slot.
If you arent running 2 x video cards, or some other large card in PCIe x8 slot, the SATA ports should be totally clear.
|
|
|
06-03-2012, 10:42 AM
|
#3
|
Member
Registered: Mar 2012
Location: Evansville,IN
Distribution: Manjaro KDE
Posts: 58
Original Poster
Rep:
|
If I say my SATA ports are blocked, should it rally matter why? I don;t mean to sound rude or ungrateful but I cam here asking for a solution to my problem, not to be educated about my PCI-E ports or how my rig is set up. If you must know, the video card always causes a short in the x16 slot, so after days of troubleshooting it, I finally gave up, and threw it in the x8 slot. As I understand it, the x8 slot really is not holding back an ATI HD4890, but then again if it is, the little gaming I do, doesn't really put a dent in the cards capabilities.
Video cards aside, I would love to know how I can get my drives to cooperate with debian like they did in Windows.
|
|
|
06-03-2012, 11:13 AM
|
#4
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908
|
Quote:
I need to hotswap my HDDs from time to time. It seems that they auto mount fine but the problem is I do not have permission to access. How can I resolve this?
|
You may be able to solve the problem by writing a custom udev rule to automount and assign access permissions in one stroke.
|
|
|
06-03-2012, 11:17 AM
|
#5
|
Member
Registered: Mar 2012
Location: Evansville,IN
Distribution: Manjaro KDE
Posts: 58
Original Poster
Rep:
|
Quote:
Originally Posted by bigrigdriver
You may be able to solve the problem by writing a custom udev rule to automount and assign access permissions in one stroke.
|
Hey bigrigdriver, thanks for that tip, but you realize your in the Newbie forum here right? Could you be a bit more specific, give me an example to work from or a tutorial?
|
|
|
06-03-2012, 12:33 PM
|
#6
|
Member
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594
Rep:
|
Maybe if you as root add the user to the disk group username is the name of the user you want to add.
Code:
sudo groupadd -G disk username
|
|
|
06-03-2012, 12:36 PM
|
#7
|
Member
Registered: Mar 2012
Location: Evansville,IN
Distribution: Manjaro KDE
Posts: 58
Original Poster
Rep:
|
Quote:
Originally Posted by whizje
Maybe if you as root add the user to the disk group username is the name of the user you want to add.
Code:
sudo groupadd -G disk username
|
-G is an invalig option. Do you mean -g(use GID for the new group)?
|
|
|
06-03-2012, 01:01 PM
|
#8
|
Member
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594
Rep:
|
yes -g
|
|
|
06-03-2012, 01:04 PM
|
#9
|
Member
Registered: Mar 2012
Location: Evansville,IN
Distribution: Manjaro KDE
Posts: 58
Original Poster
Rep:
|
Thanks, but disk is not a valid group apparently. Did I miss something? Was disk supposed to be an example variable for another group?
|
|
|
06-03-2012, 01:07 PM
|
#10
|
Member
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594
Rep:
|
sorry to add a existing user to a group
Code:
usermod -a -G disk username
|
|
|
06-04-2012, 02:38 AM
|
#11
|
Senior Member
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753
|
Quote:
Originally Posted by Xplorer4x4
If I say my SATA ports are blocked, should it rally matter why? I don;t mean to sound rude or ungrateful but I cam here asking for a solution to my problem, not to be educated about my PCI-E ports or how my rig is set up. If you must know, the video card always causes a short in the x16 slot, so after days of troubleshooting it, I finally gave up, and threw it in the x8 slot. As I understand it, the x8 slot really is not holding back an ATI HD4890, but then again if it is, the little gaming I do, doesn't really put a dent in the cards capabilities.
Video cards aside, I would love to know how I can get my drives to cooperate with debian like they did in Windows.
|
You are offened by my suggestion that your SATA ports shouldnt be blocked? I see lots of people using MSI P67A-G45 + HD 4890 setups online, and I cant find anything about your problem (and I dont even sure what you mean by 'shorting').
Quite often I see solutuions that are at best workarounds. Sometimes people find workarounds for windows, then try to pull the same trick with linux...and quite often its a real PITA, and a 'bad' setup anyway. This is another one. I dont see any problems with telling people there should be another way. If you choose to try something else, that is up to you.
You might be able to use at least one of the 'blocked' ports with a 90degree SATA data cable. Which would give you 5 active ports, fixing the problem without the hassle of hotswapping....
|
|
|
06-04-2012, 01:34 PM
|
#12
|
Member
Registered: Mar 2012
Location: Evansville,IN
Distribution: Manjaro KDE
Posts: 58
Original Poster
Rep:
|
Quote:
Originally Posted by cascade9
Quote:
Originally Posted by Xplorer4x4
If I say my SATA ports are blocked, should it rally matter why? I don;t mean to sound rude or ungrateful but I cam here asking for a solution to my problem, not to be educated about my PCI-E ports or how my rig is set up. If you must know, the video card always causes a short in the x16 slot, so after days of troubleshooting it, I finally gave up, and threw it in the x8 slot. As I understand it, the x8 slot really is not holding back an ATI HD4890, but then again if it is, the little gaming I do, doesn't really put a dent in the cards capabilities.
Video cards aside, I would love to know how I can get my drives to cooperate with debian like they did in Windows.
|
You are offened by my suggestion that your SATA ports shouldnt be blocked? I see lots of people using MSI P67A-G45 + HD 4890 setups online, and I cant find anything about your problem (and I dont even sure what you mean by 'shorting').
Quite often I see solutuions that are at best workarounds. Sometimes people find workarounds for windows, then try to pull the same trick with linux...and quite often its a real PITA, and a 'bad' setup anyway. This is another one. I dont see any problems with telling people there should be another way. If you choose to try something else, that is up to you.
You might be able to use at least one of the 'blocked' ports with a 90degree SATA data cable. Which would give you 5 active ports, fixing the problem without the hassle of hotswapping....
|
Offended? Hardly I just didn't want to bother going down that road simply because I know my hardware and how it works. That and I wanted to avoid this drawn out explanation. Yes using the 8x slot may be a work around, but after 2 defective mobos in a row, and a month of dealing with returns to Newegg, I got a fully working mobo. The 16x slot actually works fine when the mobo is used outside the case, but when inside the case the gpu causes a short that makes the system go in to a bootloop. The case , a Mozart Tx was used with a P45 mobo and the same 4890 gpu prior to the upgrade. So after days of troubleshooting to find the short, I gave up as I just want a working computer after a month of down time.
As per your solution, you forgot to factor in an optical drive. No I didnt mention it but it should only be assumed it is there in 99% of cases so I still have to hotswap. I actually have a cheap PCI RAID card that worked,although it caused it's own share of problems, in Win 7 untill I decided to do a clean install of Win 7 since I had done almost a complete hardware overhaull and then it prevented windows from booting. I may try the cheapo PCI card again but do not have alot of faith in it working but who knows.
The hotswapping issue is resolved either way. I switched to kubuntu and hotswapping works out of the box! Thanks to those who tried to contribute a working solution.
|
|
|
06-11-2012, 05:49 AM
|
#13
|
Senior Member
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753
|
If soemone says '4 x HDDs + 1 x SSD' I assume thats what they want to run. Not everybody has a optical drive, I know of people that havent had a CD/DVD drive installed for years.
Quote:
Originally Posted by Xplorer4x4
The 16x slot actually works fine when the mobo is used outside the case, but when inside the case the gpu causes a short that makes the system go in to a bootloop.
|
Doesnt that tell you that there is a serious issue? Probably a misplaced standoff, connecting to the pinouts for PCIe x16 slot. You may not want to try to fix it with all the problems you have had...still, its IMO a perfect example of a 'solution that is at best a workaround' for a 'bad setup'.
|
|
|
06-11-2012, 07:07 AM
|
#14
|
Member
Registered: Mar 2012
Location: Evansville,IN
Distribution: Manjaro KDE
Posts: 58
Original Poster
Rep:
|
Quote:
Originally Posted by cascade9
If soemone says '4 x HDDs + 1 x SSD' I assume thats what they want to run. Not everybody has a optical drive, I know of people that havent had a CD/DVD drive installed for years.
Doesnt that tell you that there is a serious issue? Probably a misplaced standoff, connecting to the pinouts for PCIe x16 slot. You may not want to try to fix it with all the problems you have had...still, its IMO a perfect example of a 'solution that is at best a workaround' for a 'bad setup'.
|
Gotta love it when people have nothing better to do then troll old dead threads to criticize people for using a temporary "workaround."
Not everyone has an optical drive? I guess thats why I said 99%..although I should have probably said 90-95% of desktops, but it really doesn't matter in regards to the point of the thread.
As for standoffs, 6 standoffs, and 6 screws inserted in to them with the mobo lined up perfectly. The pinouts are fine as far as I can see. Like I said, the system boots fine using the x16 slot outside the case. Trust me when I say I have throughly examined the situation.
Oh well, it will get fixed one of these days but excuse me for having more pressing matters then digging up old threads on an Internet forum to criticize people for having higher priorities in life then dealing with a short in their pc case. Oh well, take care and thanks for all the useful advice, oh wait..anyways I will be unsubscribing now. Thanks for the morning laugh though.
Anyways, since the topic is brought up again, thanks to those that took the time to help me find a real solution.
|
|
|
06-11-2012, 07:24 AM
|
#15
|
Senior Member
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753
|
Troll old threads? Its a few days old, and I didnt reply before because I was busy (and there was a minor database error last night anyway).
If I wanted to troll, I would have said what I was thinking rather than being nice about it......
|
|
|
All times are GMT -5. The time now is 12:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|