LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 07-31-2013, 12:45 AM   #1
raulapati
Member
 
Registered: May 2010
Posts: 51

Rep: Reputation: 0
Exclamation Problem in Disk Utility


Hi all,Iam using RHEL6.4 32 bit.I have connected 5 hard drives to my PC.After I boot the system in disk utility i see all the 5 drives connected to it.But when i hotunplug any drive this does not show any effect in Disk utility.This means Disk utility still displys my unplugged drive.Iam not able to understand whats happening.

Regards,
 
Old 07-31-2013, 01:22 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by raulapati View Post
Hi all,Iam using RHEL6.4 32 bit.I have connected 5 hard drives to my PC.After I boot the system in disk utility i see all the 5 drives connected to it.But when i hotunplug any drive this does not show any effect in Disk utility.This means Disk utility still displys my unplugged drive.Iam not able to understand whats happening.
Please explain in a bit more detail.

- Are these usb disks?
- What do you mean by "connected"? Are they (automatically) mounted or do they show up as being detected (but not mounted)?

In general: You need to unmount a disk before physically disconnecting it (assuming you do not have specialized equipment [do you??]).
 
Old 07-31-2013, 01:27 AM   #3
raulapati
Member
 
Registered: May 2010
Posts: 51

Original Poster
Rep: Reputation: 0
These are not USB disks.I have connected 5 drives to Expander.Disk utility at GUI displays all the available drives.But when we remove them it does not updates in GUI
 
Old 07-31-2013, 01:36 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by raulapati View Post
These are not USB disks.I have connected 5 drives to Expander.Disk utility at GUI displays all the available drives.
So, no specialized equipment that allows hot-swapping.

Quote:
But when we remove them it does not updates in GUI
That sounds correct.

As stated before: You need to unmount the disk(s) before removing them. Not doing so might damage the content of the disk(s).
 
Old 07-31-2013, 02:20 AM   #5
raulapati
Member
 
Registered: May 2010
Posts: 51

Original Poster
Rep: Reputation: 0
But it gets updated in /proc/scsi/scsi right...
 
Old 07-31-2013, 02:27 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by raulapati View Post
But it gets updated in /proc/scsi/scsi right...
Yes, it does. It will also show up in /dev/disk/by-id.

Neither of those will show if something is mounted, it just tells that a device is connected and, in the case of /dev/disk/by-id, which partitions (if any) are available.

If you unplug a mounted device, it will not (immediately) show as being disconnected. In time the system will notice this.
 
Old 07-31-2013, 04:58 AM   #7
raulapati
Member
 
Registered: May 2010
Posts: 51

Original Poster
Rep: Reputation: 0
So What you mean to say is The disk utility will have only information when any drive is inserted but not with removing..!!!!
 
Old 07-31-2013, 05:25 AM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by raulapati View Post
So What you mean to say is The disk utility will have only information when any drive is inserted but not with removing..!!!!
No, I'm not. When a device is WRONGFULLY removed it will stay visible.

I'm assuming the following happens (in short):

1 - You insert a device.
2 - Device is picked up by the system.
3 - Device is (auto) mounted.
4 - Device is removed (without unmounting it).
5 - Device is still present according to the system due to not unmounting it.
6 - After time passes, system might pick up the missing device and remove it.

You should ALWAYS unmount a device before removing it. Not doing so might get you into trouble:
- devices are shown while they aren't there any more,
- data might get corrupted,
- disk might get corrupted.
 
1 members found this post helpful.
  


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
Problem with "Automount" option in the Disk utility / Can't login to fedora 17 almasry Linux - Software 1 11-08-2012 08:52 AM
Disk Utility Error cygpen Linux - Newbie 8 09-08-2011 06:08 PM
Utility for Disk Usage / Treesize utility teknoratti Linux - Software 1 06-08-2011 02:53 AM
[SOLVED] Disk Utility and "df" show different disk space. confusion sets in. reed68 Linux - Newbie 6 11-18-2010 12:44 PM
ubuntu 10.04 64 bits: mounting problem with disk utility Sjonnie48 Ubuntu 1 05-15-2010 10:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:44 PM.

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