Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Newbie, so sorry if I don't use the correct terminology. I built a Suse Linux server on vmware. I attached an RDM to the server and can now see the drive as a "Mass Storage Drive" in Applications - computer. When I double click on the icon, I get an error message that indicates that the drive can not be mounted. I tried to mount in gnome terminal using: mount /dev/sdb and get "can't find .dev/sdb in /etc/fstab or /etc/mtab". I tried adding device that I would like to mount to fstab, but don't think I have the settings correct. I looking for any info that might step me through the process. Thanks!
When you attach the RDM device to the machine, what device does it become? You should be able to find this by running "dmesg" a few moments after attaching the device.
When you know what the device is, you can see if it has been automounted somewhere: "cat /proc/mounts" and then look through for the device name (/dev/sdXx) you just mentioned. Incidentally, the device itself will be /dev/sdX but the partition (where the filesystem is, which is what gets mounted) should be /dev/sdX1 (where 1 will be a number, not necessarily 1).
Thanks for the reply. When I look in /dev the RDM shows up as sdb. I think my problem has some thing to do with formatting. I'm using cfdisk and have it setup as shown.
Disk Drive: sdb
Size: 241591910400 bytes, 241.5 GB
Heads: 255 Sectors per Track: 63 Cylinders: 29371
Name Flags Part Type FS Type [Label]
-----------------------------------------------------------------------
sdb1 Primary Linux
I ran dmesg as you suggested and found two references to sdb:
VFS: Can't find ext3 filesystem on dev sdb.
sd 0:0:1:0: [sdb] 471859200 512-byte hardware sectors: (241GB/225GiB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Mode Sense: 87 00 00 08
sd 0:0:1:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sdb: sdb1 < sdb5 >
sd 0:0:1:0: [sdb] 471859200 512-byte hardware sectors: (241GB/225GiB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Mode Sense: 87 00 00 08
sd 0:0:1:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sdb:
VFS: Can't find ext3 filesystem on dev sdb.
and:
ppa: Version 2.07 (for Linux 2.4.x)
sd 0:0:1:0: [sdb] 471859200 512-byte hardware sectors: (241GB/225GiB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Mode Sense: 87 00 00 08
sd 0:0:1:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sdb: sdb1
sd 0:0:1:0: [sdb] 471859200 512-byte hardware sectors: (241GB/225GiB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Mode Sense: 87 00 00 08
sd 0:0:1:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sdb: sdb1
servername:/ # mount /dev/sdb1/dev
mount: can't find /dev/sdb1/dev in /etc/fstab or /etc/mtab
servername:/ # mount /dev/sdb1 /dev
mount: you must specify the filesystem type
I'm not sure what to enter for filesystem type.
I think that I'm almost there, but not sure what I am missing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.