02-11-2008
Quote:
Originally Posted by
ravi raj kumar
But when i am trying to mount cdrom with the command "mount /dev/sda1 /mnt/cdrom" I am getting the following error
"Unknown device /dev/sda1".
I'm by no means an expert in Red Hat, but to mee the "/dev/sda1" looks suspicious. "/dev/sda1" should designate the first partition on the first ID harddisk, the CD-ROM should be /dev/cd0 or /dev/cdrom AFAIK. Hence the following command should work:
mount /dev/cd0 /mount/cdrom
I hope this helps.
bakunin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i am using Interactive Unix 4.1.1 and i have a disk from a another unix machine which is Unix Slackware 2.1 i'm having problem mounting the disk. it gives me an error message, ??? is there any solution to this ???
it say the disk has invalid file system (1 Reply)
Discussion started by: mharck29
1 Replies
2. UNIX for Dummies Questions & Answers
Hi people,
I've made some search about it but i didn't find anything. I tried to mount my floppy,
mount -t /dev/fd0 /mnt
but it didn't work... it says : "Device not configured". Can you help me please???
And mounting my dos partiton...
mount -t vfat /dev/hdc1... (6 Replies)
Discussion started by: Erythro73
6 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
I've got a system here in which I have put a hard drive that was previously mirrored in a supposedly identical system. I am now attempting to boot from this drive alone but get these messages:
---
ad4: 58644MB <Maxtor 6Y060L0> at ata2-master UDMA100
Mounting root from ufs:/dev/ar0a... (0 Replies)
Discussion started by: jimbostyx
0 Replies
4. Shell Programming and Scripting
Hi,
I wanted to mount my windows folder under linux using samba server..
I just run this command :
$mount -t smbfs -o fmask=666,ajay //16.100.225.179/Build_stage /mnt/share
ajay is user name .. it prompted for password i have given that now i saw error message like
27893: session setup... (1 Reply)
Discussion started by: ajayyadavmca
1 Replies
5. UNIX for Dummies Questions & Answers
I have a Sun9 server. When I put a CD into it, I keep getting:
Server1{root}:$PWD=> mount: Permission denied
mount: cannot mount /vol/dev/dsk/c0t6d0/roxio1
It mounts fine in my Sun8 boxes. What am I doing wrong? (I'm logged in as root).
Thanks! (0 Replies)
Discussion started by: FredSmith
0 Replies
6. Solaris
On my Solaris 10 server, I want to share out the directory /export/home/data, so in the /etc/dfs/dfstab file, I have this line:
share -F nfs -o rw /export/home/data
In the /etc/hosts.equiv file, I have this:
+
When I do a "ps -ef" command, I see that the "nfsd' daemon is started.
... (2 Replies)
Discussion started by: serendipity1276
2 Replies
7. Linux
Hi there, I'm having a bit of a strange problem which I would appreciate some help with.
The Problem:
I have two external hard drives, but I'm borrowing one off my parents to copy data too (one of mine, which is identical to theirs - WD MyBook 300g - is on its way out).
Fedora 9 recognizes... (3 Replies)
Discussion started by: lasthidingplace
3 Replies
8. Ubuntu
Hi all
I am having a great deal of trouble mounting a harddisk on my Ubuntu 9.10 desktop.
Output from "fdisk -l":
Disk /dev/sda: 640.1 GB, 640135028736 bytes
86 heads, 15 sectors/track, 969196 cylinders
Units = cylinders of 1290 * 512 = 660480 bytes
Disk identifier: 0x00000001
... (5 Replies)
Discussion started by: jnymarkp
5 Replies
9. HP-UX
Hi Gurus,
I'm using HP-UX B.11.23 system. I've been having some problem in mounting a filesystem that has been defined in /etc/fstab as shown below.
fstab entries:
/dev/vgsap/ora10264 /oracle/PRD/102_64 vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vgsap/orasapreog... (2 Replies)
Discussion started by: superHonda123
2 Replies
10. Red Hat
I am trying to mount SAMBA/CIFS and it just won't work
Here are my settings...please let me know what i did wrong
This is Centos 6.4 box
Thanks!
cat /etc/samba/smb.conf
comment = Samba
path = /home/vm1/Desktop/samba
writable = yes
public = yes
findsmb
... (3 Replies)
Discussion started by: nokia3310
3 Replies
LEARN ABOUT NETBSD
vnduncompress
VNDCOMPRESS(1) BSD General Commands Manual VNDCOMPRESS(1)
NAME
vndcompress, vnduncompress -- compress/uncompress file system images to/from cloop2 format
SYNOPSIS
vndcompress [-cd] disk/fs-image compressed-image [blocksize]
vnduncompress [-cd] compressed-image disk/fs-image
DESCRIPTION
The vndcompress program compresses an existing file system image into a cloop2 compatible compressed file system image. An optional block-
size can be given. If omitted, the default of 64kB is used.
The vnduncompress command decompress a cloop2-compressed file system image back into a regular image.
The file system images that can be handled are not limited to any specific file system, i.e. it is possible to handle images e.g. in ISO 9660
or UFS/FFS format. File system images in the cloop2 format are intended to be used with the vnd(4) driver in compressed mode as configured
by the -z option of the vnconfig(8) program, and later mounted with the appropriate -t option to mount(8).
OPTIONS
The following options are available:
-c Always compress, even if the program was started as vnduncompress.
-d Always uncompress (decompress), even if the program was started as vndcompress.
EXIT STATUS
The vndcompress and vnduncompress utilities exit with one of the following values:
0 The operation was performed successfully.
1 An error occurred.
EXAMPLES
To compress an existing CD-ROM file system image, run the following commands:
# vndcompress netbsd.iso netbsd.izo
Note that the resulting compressed image cannot be mounted directly via NetBSD's vnd(4) and mount_cd9660(8) commands any longer. Instead,
you will have to use the -z option of vnconfig(8).
The following example decompresses an existing CD-ROM file system image that was compressed in the cloop2 format into a regular file that can
then be mounted:
# vnconfig vnd0 KNOPPIX.iso
# mount -t cd9660 -o ro /dev/vnd0d /mnt
# vnduncompress /mnt/KNOPPIX/KNOPPIX /var/tmp/knoppix.iso
# umount /mnt
# vnconfig -u vnd0
#
# vnconfig vnd1 /var/tmp/knoppix.iso
# mount -t cd9660 -o ro /dev/vnd1d /mnt
# ls /mnt
.rr_moved cdrom floppy lib opt sbin usr
bin dev home mnt proc sys var
boot etc initrd none root tmp vmlinuz
# umount /mnt
# vnconfig -u vnd1
As an alternative, if your vnd(4) was compiled with VND_COMPRESSION, you can use vnconfig(8) to access the cloop-compressed image directly,
e.g.,
# vnconfig vnd0 KNOPPIX.iso
# mount -t cd9660 -o ro /dev/vnd0d /mnt
# vnconfig -z vnd1 /mnt/KNOPPIX/KNOPPIX
# mount -t cd9660 -o ro /dev/vnd1d /mnt2
# ls /mnt2
.rr_moved cdrom floppy lib opt sbin usr
bin dev home mnt proc sys var
boot etc initrd none root tmp vmlinuz
# df /mnt /mnt2
Filesystem Size Used Avail Capacity Mounted on
/dev/vnd0a 692M 692M 0B 100% /mnt
/dev/vnd1a 1.9G 1.9G 0B 100% /mnt2
# umount /mnt2
# vnconfig -u vnd1
# umount /mnt
# vnconfig -u vnd0
Note how the 1.9GB big filesystem on /mnt2 is mounted from the compressed file stored on the 692MB CD mounted on /mnt. To create a com-
pressed file system image of an existing directory and mount it, run:
# makefs -t ffs include.fs /usr/include
# vndcompress include.fs include.fs.cloop2
# vnconfig -z vnd0 include.fs.cloop2
# mount -o ro /dev/vnd0a /mnt
# ls /mnt
To undo the steps, run:
# umount /mnt
# vnconfig -u vnd0
# rm /tmp/include.fs.cloop2
# rm /tmp/include.fs
SEE ALSO
gzip(1), vnd(4), mount(8), mount_cd9660(8), vnconfig(8)
AUTHORS
The vndcompress utility was written by Florian Stoehr <netbsd@wolfnode.de>. The vndcompress manual page was written by Florian Stoehr
<netbsd@wolfnode.de> and Hubert Feyrer <hubertf@NetBSD.org>.
BSD
December 12, 2005 BSD