LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 06-02-2012, 03:51 PM   #1
Xplorer4x4
Member
 
Registered: Mar 2012
Location: Evansville,IN
Distribution: Manjaro KDE
Posts: 58

Rep: Reputation: Disabled
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?
 
Old 06-03-2012, 02:18 AM   #2
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
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.
 
Old 06-03-2012, 09:42 AM   #3
Xplorer4x4
Member
 
Registered: Mar 2012
Location: Evansville,IN
Distribution: Manjaro KDE
Posts: 58

Original Poster
Rep: Reputation: Disabled
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.
 
Old 06-03-2012, 10:13 AM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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.
 
Old 06-03-2012, 10:17 AM   #5
Xplorer4x4
Member
 
Registered: Mar 2012
Location: Evansville,IN
Distribution: Manjaro KDE
Posts: 58

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bigrigdriver View Post
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?
 
Old 06-03-2012, 11:33 AM   #6
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594

Rep: Reputation: 141Reputation: 141
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
 
Old 06-03-2012, 11:36 AM   #7
Xplorer4x4
Member
 
Registered: Mar 2012
Location: Evansville,IN
Distribution: Manjaro KDE
Posts: 58

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by whizje View Post
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)?
 
Old 06-03-2012, 12:01 PM   #8
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594

Rep: Reputation: 141Reputation: 141
yes -g
 
Old 06-03-2012, 12:04 PM   #9
Xplorer4x4
Member
 
Registered: Mar 2012
Location: Evansville,IN
Distribution: Manjaro KDE
Posts: 58

Original Poster
Rep: Reputation: Disabled
Thanks, but disk is not a valid group apparently. Did I miss something? Was disk supposed to be an example variable for another group?
 
Old 06-03-2012, 12:07 PM   #10
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594

Rep: Reputation: 141Reputation: 141
sorry to add a existing user to a group
Code:
usermod -a -G disk username
 
Old 06-04-2012, 01:38 AM   #11
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Originally Posted by Xplorer4x4 View Post
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....
 
Old 06-04-2012, 12:34 PM   #12
Xplorer4x4
Member
 
Registered: Mar 2012
Location: Evansville,IN
Distribution: Manjaro KDE
Posts: 58

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cascade9 View Post
Quote:
Originally Posted by Xplorer4x4 View Post
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.
 
Old 06-11-2012, 04:49 AM   #13
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
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 View Post
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'.
 
Old 06-11-2012, 06:07 AM   #14
Xplorer4x4
Member
 
Registered: Mar 2012
Location: Evansville,IN
Distribution: Manjaro KDE
Posts: 58

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cascade9 View Post
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.
 
Old 06-11-2012, 06:24 AM   #15
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
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......
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hotswap or Not thetopcat2010 Linux - Virtualization and Cloud 2 08-11-2011 10:54 AM
Debian RAID 10 spare drives vs active drives Nemus Linux - Server 2 06-13-2011 10:14 AM
Make (Haldaemon?) detect HotSwap Sata (II) drives in Linux carl0ski Linux - Hardware 1 02-04-2007 03:10 PM
hotswap disk linuxtesting2 Solaris / OpenSolaris 3 06-28-2006 11:17 AM
SATA hotswap kwlg Linux - Hardware 3 06-28-2005 02:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration