02-26-2009
Problem Accessing disk
Basically I´m Absolutely New to Opensolaris (Started Using It This Morning),
I´m Following A Tutorial On How To Access NTFS Partitions.
Device Driver Utility Finds It And Says Everythings Fine With It
DISK : ST3160022ACE
Capacity : 160G
Driver : cmdk
Path : /dev/rdsk/c4d0s2
But When I Run fdisk /dev/rdsk/c4d0s2 It Says :
¨fdisk: Cannot open device /dev/rdsk/c4d0s2.¨
I Know This Will Be An Annoying Nooby Mistake But Please Help
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hie,
Im having 2 Questions. Please help.
- Do Anyone know how to accessanother HDD using Linux? Ive tried many ways before but unable to do so. Im using 2 HDD, The main Hdd/Partition where my unix is are using Seagate HDD 20GB , another HDD is using Maxtor 20GB. From my seagate Hdd where my... (8 Replies)
Discussion started by: killerserv
8 Replies
2. IP Networking
Ok, here at work, we have Windows computers which login into a MS domain server.
Some of us also have Linux boxes which get a ip address
from the dhcp server. We can see other boxes and see the internet until about 1 week ago.
Now, we still get a ip address but can't see anything within our... (3 Replies)
Discussion started by: natter
3 Replies
3. Programming
I have a struct as follows...
struct A
{
int a;
ucontext_t X; //ucontext_t is another structure
}
How do I define a pointer to the above structure variable X of the type ucontext_t from within another function?
eg. void foo()
{
struct A a;
/////WHAT COMES IN... (1 Reply)
Discussion started by: jacques83
1 Replies
4. Shell Programming and Scripting
Hi All,
Just recently started using a program in Unix for a client. I was sent a script to use but for some reason it's not working. The person who created the script first suggested I may need to edit the first line of the script so that it has the correct path for the csh file: #!/bin/csh -f... (3 Replies)
Discussion started by: gmalt
3 Replies
5. Solaris
Hi, I'm having a problem when attempting to define the OCR location for my 10g RAC setup on Solaris 10. I get the following error:
The specified shared raw partition /dev/did/rdsk/d1s0 may not have the correct permission. Verify that the partition is owned by Oracle user.
As per the Oracle10g... (15 Replies)
Discussion started by: michael.chow
15 Replies
6. Shell Programming and Scripting
Hi,
I have a shell script wherein i am doing some file operations and storing the data in some variables. I am exporting these variables as i need to use them outside shell. Then within the shell i am launching GDB session hoping that i will be able to access the exported variables in the GDB... (2 Replies)
Discussion started by: jsantosh
2 Replies
7. Solaris
Hello,
Wondering if anyone can help me with mounting a file share from my Sun T2000 server running Solaris 10 to my connected 2530 disk array?
I believe I've connected the disk array correctly and I have created a volume on the array using the filesystem (Sun_SAM-FS, RAID-5).
The T2000... (15 Replies)
Discussion started by: DundeeDancer
15 Replies
8. Filesystems, Disks and Memory
Hello
I am having a problem with being able to use my 2nd hard drive as my new os doesn't recognize it. it is /dev/hdb2 and it shows as It is still in my system. it is a 73 gb hard drive and it is useless to me now. I used to have windows XP and had no problem with it,I have since changed to... (2 Replies)
Discussion started by: Donald Spauldin
2 Replies
9. Shell Programming and Scripting
Hi all,
I can’t resolve an array element access issue on (Linux/pdksh) .. So I’m positing for advice.By the way - a friend demonstrated to me - same script works as expected under Solaris.
I have been working on a documentation project where many *.jpg screen shots are used in the... (4 Replies)
Discussion started by: njdpo
4 Replies
10. IP Networking
I hope I'm posting this in the right forum...
Hi, I'm a newbie trying to set up my own home web server. I have an old laptop where I have a LAMP set up.
Virgin Media won't give me a static IP so I am using dyndns, my IP hasn't changed for months anyway...
So the problem is this...
The... (5 Replies)
Discussion started by: Percyval
5 Replies
LEARN ABOUT OPENSOLARIS
cmdk
cmdk(7D) Devices cmdk(7D)
NAME
cmdk - common disk driver
SYNOPSIS
cmdk@target, lun : [ partition | slice ]
DESCRIPTION
The cmdk device driver is a common interface to various disk devices. The driver supports magnetic fixed disks and magnetic removable
disks.
The cmdk device driver supports three different disk labels: fdisk partition table, Solaris x86 VTOC and EFI/GPT.
The block-files access the disk using the system's normal buffering mechanism and are read and written without regard to physical disk
records. There is also a "raw" interface that provides for direct transmission between the disk and the user's read or write buffer. A sin-
gle read or write call usually results in one I/O operation; raw I/O is therefore considerably more efficient when many bytes are transmit-
ted. The names of the block files are found in /dev/dsk. Raw file names are found in /dev/rdsk.
I/O requests to the magnetic disk must have an offset and transfer length that is a multiple of 512 bytes or the driver returns an EINVAL
error.
Slice 0 is normally used for the root file system on a disk, slice 1 as a paging area (for example, swap), and slice 2 for backing up the
entire fdisk partition for Solaris software. Other slices may be used for usr file systems or system reserved area.
The fdisk partition 0 is to access the entire disk and is generally used by the fdisk(1M) program.
FILES
/dev/dsk/cndn[s|p]n block device (IDE)
/dev/rdsk/cndn[s|p]n raw device (IDE)
where:
cn controller n.
dn lun n (0-1).
sn UNIX system slice n (0-15).
pn fdisk partition (0-36).
/kernel/drv/cmdk 32-bit kernel module.
/kernel/drv/amd64/cmdk 64-bit kernel module.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |x86 |
+-----------------------------+-----------------------------+
SEE ALSO
fdisk(1M), mount(1M), lseek(2), read(2), write(2), readdir(3C), scsi(4), vfstab(4), attributes(5), dkio(7I)
SunOS 5.11 4 Nov 2008 cmdk(7D)