/etc/fstab mount issue


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers /etc/fstab mount issue
# 1  
Old 02-18-2015
/etc/fstab mount issue

I have a virtual machine with Redhat installed .
I am trying to link CD/DVD Drive 1 to /media/cdrom1 and CD/DVD Drive 0 to /media/cdrom0

I tried making these changed in /etc/fstab by adding the below line to it
Code:
/dev/sr0 /media/cdrom0 iso9660         user,noauto,exec,utf8       0  0
/dev/sr1 /media/cdrom1 iso9660         user,noauto,exec,utf8       0  0

But even after a reboot i see CD/DVD Drive 1 assigned to /media/cdrom0

Any ideas where I am going wrong ?


Thanks in advance
# 2  
Old 02-18-2015
What does CD/DVD Drive 0/1 mean?
Why are you sure, that your DVD Drive 0 is /dev/sr0?
# 3  
Old 02-18-2015
Quote:
Originally Posted by agent.kgb
What does CD/DVD Drive 0/1 mean?
Why are you sure, that your DVD Drive 0 is /dev/sr0?
Thanks for reply !

CD/DVD Drive is the drive in the virtual machine .

Code:
cat /proc/mounts

gives the following result

Code:
/dev/sr1 /media/cdrom0 iso9660 ro,nosuid,relatime 0 0
/dev/sr0 /media/cdrom1 iso9660 ro,nosuid,relatime 0 0

I have 2 different ISOs mounted on Drive 0 and Drive 1.So I know which is mounted where
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Mount Linux filesystem not defined in etc/fstab

Hello, is there a way to mount a filesystem which is not defined in the etc/fstab ? Could someone share me any code or command (3 Replies)
Discussion started by: srilaxman
3 Replies

2. Solaris

Mount issue please help

Hi all I have a mount issue, that is as follows: somebody as mount a certain file system /sim5 on /, so when I do df -h /sim5it returns Filesystem size used avail capacity Mounted on /dev/md/dsk/d10 9.6G 7.0G 2.6G 74% /, which is the same as df -h /... (25 Replies)
Discussion started by: fretagi
25 Replies

3. Red Hat

NFS mount issue

we are facing a weird NFS mount issue on one of the linux host , a NFS volume of 2.4TB is mounted in the linux host , but df only reports 131g , which exactly matches rootfilesytem size nfs mount filer_filer1:/vol/bug_test/q0 131G 116G 8.5G 94% /nas/bug_test root... (2 Replies)
Discussion started by: skamal4u
2 Replies

4. Shell Programming and Scripting

Mount/fstab Question . . .

Greetings! Got another basic question for the community :) After wiping a drive with dd, and calling mkfs.ext4 to set things up again, fstab seems to need to be refreshed somehow to allow a call to mount for the volume. What might the "secret handshake" be to pull this off without first... (6 Replies)
Discussion started by: LinQ
6 Replies

5. UNIX for Dummies Questions & Answers

Mount issue

I format a usb key: mkfs -t ext4 /dev/sdf1 mkfs -t ext4 /dev/sdf2 (also tried mkfs.ext4 /dev/sdfx and mke2fs -t ext4 /dev/sdfx) and have the following: # fdisk -l Device Boot Start End Blocks Id System /dev/sdf1 * 64 6097695 3048816 ... (0 Replies)
Discussion started by: arpagon
0 Replies

6. Red Hat

Mount issue

Hi There, I have following issue: # df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda1 30470144 4200476 24696908 15% / /dev/hda6 223461396 82243140 129683992 39% /apps /dev/hda5 10153988 155100 9474772 2%... (3 Replies)
Discussion started by: Sunil Koya
3 Replies

7. Red Hat

NFS mount issue

Hi Friends, My source server is HP and my destination is linux. I have to mount a dir thru nfs from source to destn. almost 8 servers i did the same thing and it is working fine but on the 9th server i can't able to mount. Everything i have did for nfs configuration.Even i can able to ping... (1 Reply)
Discussion started by: Mohamed Thamim
1 Replies

8. Emergency UNIX and Linux Support

Mount issue

Hi, I was running short of space on /tmp which was mounted on /. Now I tried to move /tmp to another device unfortunately everything in that particular folder got copied in /tmp so I reverted back by mounting it to /. But now it has started pointing to all folders with /. How do I get out of... (4 Replies)
Discussion started by: ahmedwaseem2000
4 Replies

9. Red Hat

Mount /etc/fstab

Can you please help me mount below filesystem in fstab ( I have rhel 5 ) as the line is long - it is not taking as single line How can break this in 2 line and act as one ....please help ... (4 Replies)
Discussion started by: saurabh84g
4 Replies

10. UNIX for Advanced & Expert Users

UNIX Mount Issue

Hi, Not entirely sure if this is the right thread. Essentially, fdisk -l shows that /dev/sda is a drive (750 GB), with 1 partition at /dev/sda1 with system type "Linux". I'm pretty nooby at working with drives, but I'm pretty sure that the output of: mount /dev/sda1 /media/int Should not... (4 Replies)
Discussion started by: FreddoT
4 Replies
Login or Register to Ask a Question