Find the answer to your Linux question:
Results 1 to 3 of 3
i'm following LinuxFromScrach books the system has 3 hdds IDE 0:0, 0:1, 1:0 i Code: cfdisk /dev/hdc & mounted under Code: mount /dev/hdc1 /mnt/lfs then i rebooted, now the drive ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2004
    Location
    Israel
    Posts
    61

    mount onder different path in mdk 10.0


    i'm following LinuxFromScrach books

    the system has 3 hdds IDE 0:0, 0:1, 1:0

    i
    Code:
    cfdisk /dev/hdc
    & mounted under
    Code:
    mount /dev/hdc1 /mnt/lfs
    then i rebooted, now the drive is mounted under hd2

    when i try
    Code:
    umount  /mnt/hd2
    i get
    umount: /mnt/hd2: device is busy
    - twice, the message is displayed 2 times!

    a. why is that, i mean i'm a newbie not an assh*le to be repeated every thing twice
    b. why didn't the mount just stayed as /mnt/lfs ?
    c. can i somehow see who is using the drive or who has it locked ?
    d. how should fix that so that i will be mounted again on /mnt/lfs ?

    thank u, max.

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    A) Check to see if you're in the directory. That would cause it to be busy. Also, anything else that's running on or using files from that mountpoint

    B) Beats me. Check your /etc/fstab, though I've never seen one to switch mountpoints on boot.

    D) Put an entry in your /etc/fstab for in. That way it will be mounted in the same place every time.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Just Joined!
    Join Date
    May 2004
    Location
    Israel
    Posts
    61
    thank you, the problem has been solved. [not sure why but it works]

    C) i been told that i can see who is using the resource with the command
    Code:
    fuser
    then i can go to
    Code:
    ps
    with the process id & know who locked it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •