From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079336919221.tru64-unix-managers.marc@archive.invalid> From: "Zu, Hongya" Date: Fri, 04 Feb 2000 16:15:04 +0000 To: tru64-unix-managers Subject: SUMMARY: How to mount hard drives? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079336919221 Original question: After I install another 2 hard disks (9 GB and 4GB) on our Digital Unix computer. I formatted them and made partition to them with diskconfig. I want to mount them with the command: mount /dev/rre1c to /usr/users/databut it gave the device busy message: ksh:godzilla:/># mount /dev/rre1c /usr/users/data /dev/rre1c on /usr/users/data: Device busy ksh:godzilla:/># I wrote the 2 lines on /etc/fstab /dev/rre1c /usr/users/data ufs rw 0 2 /dev/rre2c /usr ufs rw 0 2 then reboot. The disks still can't mount on Unix computer. Could you help me? Answer: 1.You need to use the "cooked" devices, not the "raw" device. To mount the disk, you need to do the following: mount /dev/re1c /usr/users/data Take the first "r" off of your device name, and you'll be in business. :) 2. Is /usr/users/data already a mount point on another disk? You can't mount two disks to the same place. 3. The error "Device Busy" is usually caused by one of two things: 1. A file system already being mounted there. 2. At least one process having an open file on that file system. A process having that directory as its current directory counts as an open file. Either one could have been the cause of the failure the first time you tried it. #1 is more likely if the file system can't be mounted on a reboot. Another problem is that you're using the raw device to mount the file system and you should use the block device; /dev/re1c. The transcription of the fstab lines is missing the last field of the /usr line, but I don't know if that is causing a problem or not. You may also want to switch the order of the lines so that /usr is mounted first and then /usr/users/data. If you have a separate /usr/users, you'll want it between /usr and /usr/users/data. Thanks to: ========================================= Blake Roberts [BLAROB@HBSI.COM] John J. Francini [francini@progress.com] alan@nabeth.cxo.dec.com Claudio Tantignone [C_Tantignone@sondaarg.com.ar] Freesmeyer, Mary [Mary.Freesmeyer@LendersService.com] Michael Bucholtz [mbucholtz@ceiss.org] Martin Barrett [martin.barrett@carltontv.co.uk] Brian Hostetter [BrianH@dice.com] Emil L. Dragic [emil@mobtel.co.yu] Pierre Bergdolt [Pierre.Bergdolt@alcatel.fr] Peter Reynolds [PReynolds@synstar.com] Nikola Milutinovic [Nikola.Milutinovic@ev.co.yu] Niels Roetert [Niels.Roetert@pqr.nl] ++++++++++++++++++++++++++++++++++++++++++ Hongya Zu Research Information Service Children's Research Institute 700 Children's Drive Columbus, OH 43205 Phone: (614) 722-2914 Fax: (614) 722-2716 Email: zuh@pediatrics.ohio-state.edu +++++++++++++++++++++++++++++++++++++++++