Before Unplugging A Usb Disk From An Opensuze System - What should I do ?

free web hosting
Free Web Hosting > Computers & Tech > Hardware Workshop

Before Unplugging A Usb Disk From An Opensuze System - What should I do ?

yordan
I know how to read my NTFS files on my USB disk when I am connected to an OpenSuze machine.
I simply plug the USB disk to the Linux machine, and I type "mount /dev/sdb1 /mydisk"
Of course, before removing the disk I do "umount /mydisk".
However I'm pretty sure this is not enough if I want to unplug the disk.
Under Windows I know that I have to click the "remove hardware" icon.
There is probably something to do under Suze Linux before unplugging a device, something like "rmdev /dev/sdb" ?
If somebody knows the correct way to do it, can you please tell me ?
Regards
Yordan

Reply

xboxrulz
On SUSE Linux, all you have to do is plug and press safely remove, the system's HAL is going to do all the mounting and unmounting. That's the beauty of the HAL system that was implemented across all major Linux systems. Just like in Windows and MacOS X, they have a HAL system that deals with all the hardware components.

Only use the manual command lines only when necessary.

xboxrulz

Reply

xboxrulz
lol, alright ... but remember, be sure to press Safely Remove Disc before unplugging though!!

xboxrulz

Reply

Atomic0
If you are really concerned about your USB disk, then you should shut down the SUSE operating system before unplugging the USB disk from the USB port on your computer. With the operating system shut down, you can be sure that the USB disk is no longer in use and will not be affected when you pull out the device.

Reply

xboxrulz
lol, i don't think we have to be that drastic when we have to unmount our USB key. That's a lil' unnecessary.

Just follow the standard "Safely Remove" or umount.

xboxrulz

Reply

yordan
QUOTE(xboxrulz @ Jun 7 2008, 02:12 AM) *
lol, alright ... but remember, be sure to press Safely Remove Disc before unplugging though!!

xboxrulz

That was preciseley the aim of the present post. When I am working on a Microsoft Windows machine, there is a "safely remove" button to press.
When I am on an OpenSuze command-line window, there is no button to press, only command lines to type. I can type "yast" and see things, I can type"mont /dev/sda /somewher", but there is no graphic display, so no button to press.
And I see that directly unplogging is not safe, when I re-plug the disk I see it in use, or it changes name (sdb to sdc), and sometimes I cannot mount it and I have to reboot my Linux system, or directly powerdown because it's unable to shutdown because freezing on the USB devices.

 

 

 


Reply

docduke
I would be very interested to learn the final answer to this. I believe I have had a similar problem. I was using a USB drive to transfer files from a Windows machine to SuSE 9.1. I was using shell scripts, and I'm certain I umount'ed the drive, but the FAT32 partition table was corrupted. I know how to recover now, but I didn't then. Fortunately, I had copied what I needed, so I just reformatted the drive.

The ideal answer would be to compare the source code for umount with the source code for: bringing sysinfo:/ up in Konqueror, right-clicking on a drive, and selecting "Unmount." That is beyond my skill set. It is also probable that such problems depend on the USB device drivers, and are very hardware-dependent.

There are many issues with computers for which there is no final answer. Successful computer users learn to minimize wasted time. If there's a bug you don't understand, find a workaround, and stay away from the bug. In my case, it was learning how to get a partially-functional computer onto the network by booting a live CD Linux on it, and transferring the files through the network instead of using a USB hard drive. It actually turned out to be faster!

Reply

wutske
If I plugin an external disk then openSuse detects and mounts it for me. It also creates shortcuts on the destop and if I rightclick on them, then there is an option to safely remove the disk ...

ps. the reason why you should 'safely remove' your hardware is because some write actions are cached before they are actualy done. If you unplug the drive while linux is writing the caches to the disk then data might be corrupted. The flush command (if I remember correctly, might as wel be another command tongue.gif) writes these caches for you so you can unplug the disk even without safely removing it (I've removed a lot of sticks and disks without first using the safely remove features).

Reply

xboxrulz
QUOTE(yordan @ Jun 7 2008, 01:44 PM) *
That was preciseley the aim of the present post. When I am working on a Microsoft Windows machine, there is a "safely remove" button to press.
When I am on an OpenSuze command-line window, there is no button to press, only command lines to type. I can type "yast" and see things, I can type"mont /dev/sda /somewher", but there is no graphic display, so no button to press.
And I see that directly unplogging is not safe, when I re-plug the disk I see it in use, or it changes name (sdb to sdc), and sometimes I cannot mount it and I have to reboot my Linux system, or directly powerdown because it's unable to shutdown because freezing on the USB devices.


Oh, you don't have a GUI installed? Then I'm not sure. Just be sure that HAL is installed.

I always have a desktop environment installed whenever I use Linux.

xboxrulz

Reply

yordan
QUOTE
I always have a desktop environment installed whenever I use Linux.

Yes, you are doing this the right way. Unfortunately a lot of collegues, prefer using bare command line on some servers. Then, they simply don't install the GUI, cause these gurus thing that it's useless (or far below their smartness).

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. how to do you unplug usb disc from computer - 22.53 hr back. (1)
  2. linux power down usb disk - 44.69 hr back. (1)
  3. unplug usb device suse - 90.37 hr back. (1)
  4. unplugging usb directly from computer - 90.67 hr back. (1)
  5. konqueror sysinfo umount - 94.33 hr back. (1)
  6. linux unplugging usb devices - 99.37 hr back. (1)
  7. suse 9.1 unplug usb drive - 118.35 hr back. (1)
  8. linux safely power down usb disk - 143.38 hr back. (1)
  9. safe unplugging of usb drives linux - 167.06 hr back. (1)
  10. linux unplug usb device - 177.69 hr back. (1)
  11. unplug usb command - 244.25 hr back. (1)
  12. do i have to safely unplug usb keys - 261.35 hr back. (1)
  13. linux safe remove usb disk - 274.48 hr back. (1)
  14. linux safe unplug usb hdd - 283.07 hr back. (1)
Similar Topics

Keywords : unplugging, usb, disk, opensuze, system,

  1. External Hard Disk Problems
    (11)
  2. 'disk Read Error Message' On Start Up
    Error (5)
    I Have A Huge Problem Around 3 Weeks Ago My Computer Was Working Perfectly Then I Switched It On The
    Next Day And On The Start-Up I Get A Message Saying 'Disk Read Error Press Ctrl-Alt-Del To
    Restart' Yet I Pressed Ctrl-Alt-Del And Nothing Happens. I Dont Know A Lot About Computers Cos I
    Only Use Them For School Work And Stuff. Yesterday I Bought A Boot Cd & A Utilities Cd For Windows
    Xp But They Didn't Have Any Sort Of Instructions On What To Do With Them (I Don't Know Why
    They Didn't Cos They Really Should Have) I Don't Have A Clue How To Work T....
  3. Next Gen Optical Disk Format War Over
    And the winner is HD-DVD (0)
    In Beta/VHS round two Sony is a staggering 0-2. The Adult Film industry has decided on HD-DVD as
    their next format of choice for the very same reasons that they went with VHS twenty five years ago.
    While BRD is the technically superior format, with the Adult Entertainment industry going with
    HD-DVD the format war is over. I own my own small video production company (I do post-production
    for 6 other videographers and then do video Memoirs and a few weddings on my own.) and Currently I
    have both a Blu-Ray and HD-DVD burner. I've done 2 projects on Blu-Ray, but st....
  4. Hard Disk Woes
    partition formatting lost for good? (6)
    I've had this happen to 3 hard drives in the last couple of months. First, a friend gave me his
    80 GB HD which he had dropped from about a foot off the desk. It registers in the BIOS as an 80GB
    disk, but windows refuses to go past that. I'm thinking he knocked the needle out of alignment,
    and whether this is the case or not, is it repairable? The second thing that happened, both to the
    C partition of a brand new laptop, and to a brand new 120GB hard disk i bought. the first was
    formatted with basic, the second dynamic. All NTFS of course. So one fine day they j....
  5. Scratch Disk For PhotoShop
    (2)
    Lately I've been wondering about the scratch disk option in Photoshop, while the topic is more
    of less software related; I've always been told that a scratch disk is best made a SCSI hard
    drive. Would it be beneficial for my system? Or is it just a pricy option? Here are my current
    comp specs: AMD Athlon 64 3400+ Maxtor 120GB @ 7200RPM 1024MB RAM DDR400 MSI K8N Platinum
    motherboard ATi Radeon 9250 with 128MB Can someone shed some light onto this issue? I have been
    thinking about upgrading my graphics card, or RAM or both. LOL (2GB RAM should be nice /tongue.....
  6. DVD-RW Problem: Unformatted Disk
    (6)
    Recently I buyed a couple of DVD-rw to make a backup of my files since my father is planning to
    reïnstall the whole computer. But when I try to burn some files it says: "Unformatted disk" (I'm
    not sure if I translated it well from Dutch, but I'm quite sure this means the same). Does
    anyone know how to solve this? I knew you had to format floppy disks before using them but I
    didn't know that you also had to do that with DVD's. thnx in advance, -=jeroen=-....
  7. Disk Read Error
    I keep getting a disk read error... (8)
    Half the time I restart the computer in my bedroom I get a disk read error /sad.gif' border='0'
    style='vertical-align:middle' alt='sad.gif' /> and I get that error on startup. So I just figured
    as long as I don't restart nothing can go wrong right? Well...My sis just restarted that
    computer and now I'm getting a disk read error....It says that I should hit alt-ctrl-del and try
    again...Well I keep getting a error and normaly whenever I used to get it I would just reformat
    it...But I really don't feel like reformating it...And it has a lil data that I don&....
  8. A Disk Read Error Occurred. Press Ctrl + Alt + Del To
    Get this message when booting the pc (21)
    Ok, the problem is: "A Disk Read Error Occurred. Press CTRL+ALT+DEL to restart" So, i used another
    hard disk as the primary, and de "damged" on as secundary.. I don't have acces to that hard
    disk: the model is: Maxtor 6y120l0 Serial #: y328jdte Firmaware: yar41bw0 i have tried everything
    i can think of, i even downloaded the PowerMAX utility to see if the hard disk was truly damaged,
    and no, every test passed.. correctly.. so.. I have very important data on that hard disk, please
    help!!!!!! PD: I get no response from de CHKDSK command in the repair console a....

    1. Looking for unplugging, usb, disk, opensuze, system,






*SIMILAR VIDEOS*
Searching Video's for unplugging, usb, disk, opensuze, system,
advertisement




Before Unplugging A Usb Disk From An Opensuze System - What should I do ?



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE