03-30-2012
it gives me this result :
format> fsck
`fsck' is not expected.
here's methods how I created(added) the second partition on which I wish to learn how creat and mount partition to file system.
At first,i've installed solaris 10 on vmware workstation :
click on virtual machine settings
choose :add hard disk (IDE)==>hard disk
next==>creat a new virtual disk
==>Next
sci (only scsi disks can bie added while VM is powerd on)
==>Next
maximum size(GB) :2
==>NEXT
==>Finish
---------- Post updated at 07:46 AM ---------- Previous update was at 07:45 AM ----------
and i type this command :
# devfsadm
---------- Post updated at 07:47 AM ---------- Previous update was at 07:46 AM ----------
the new partition added appears here :
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0d0 <DEFAULT cyl 1955 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0
1. c0d1 <DEFAULT cyl 1021 alt 2 hd 128 sec 32>
/pci@0,0/pci-ide@7,1/ide@0/cmdk@1,0
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
HI.
i installed solaris on a x86 machine and i only partition for 4 gig when it suppose to be 8. i only using 4 gig right now how can i start using the other four. please help, thanks in advance
Meeh (2 Replies)
Discussion started by: souldier
2 Replies
2. Solaris
Hi all,
I would like to know how to make new partitions....
I currently have allocated 60G for various slices (I have totally used 4 out of 7 available slices...
I am running only solaris on my box.
My plan is to have entire disk dedicated to solaris and run other OS from within... (19 Replies)
Discussion started by: wrapster
19 Replies
3. SCO
i have one 9 gb hdd having root 2 gb fs
now i want to create additional 1gb fs in remaining space
unix partation created in entired 9gb
thanx (1 Reply)
Discussion started by: sudhir69
1 Replies
4. Solaris
Friends,
I have an 80 GB IDE hard disk on which I installed Solaris 10, the layout being
Total size of the partition being 30 GB
c0d0s0 = / directory = 15 GB
c0d0s1 = swap file system = 1 GB
c0d0s7 = /export/home directory = 1GB
c0d0s8= boot
c0d0s9 = alternates
... (3 Replies)
Discussion started by: saagar
3 Replies
5. Solaris
Hi. I newbie in solaris.
I have server T2000 with 2 disk on raid.
I have partitions:
Part Tag Flag Cylinders Size Blocks
0 root wm 825 - 3916 15.00GB (3092/0/0) 31464192
1 swap wu 0 - 824 4.00GB ... (6 Replies)
Discussion started by: burdock
6 Replies
6. UNIX for Advanced & Expert Users
Hello masters,
Actually, i am user of Ubuntu, but I want to use Debian too.
I have a computer with a product key for w7 so i will use too, only for games...
The structure I have thought is the next with 1TiB of capacity.
Primary: 50 GB NTFS for W7
Extended:
Logical: 20 GB FAT32... (3 Replies)
Discussion started by: albertogarcia
3 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
My colleague says . On some boxes we have /var/,/opt are inside root and on some they are not on root they are separately. So please any one explain me what actually the difference is.
Thanks is Advance. (3 Replies)
Discussion started by: rama krishna
3 Replies
8. Red Hat
I had a query as to what are the partitions that should be necessary in RHEL 6. My knowledge says that
1) /
2) /home
3) Swap
4) /boot
should be sufficient. But, I am seeing in my production environment which is RHEL 5 that there are partitions also for
1) /var
2) /tmp... (8 Replies)
Discussion started by: RHCE
8 Replies
9. AIX
Hello,
I'm trying to create two lpars on a machine which has 2disks. I dont want to create a vio, I just want to create two partitions and build aix on both through DVD.
Can I do this? If 'yes' how can I do it and how to create the partitions on separate disks?
Please let me know further.... (3 Replies)
Discussion started by: pjeedu2247
3 Replies
10. UNIX for Dummies Questions & Answers
Oracle Linux 6.6
To create Physical Volumes for Volume groups (LVM) , the disk need to be partitioned to LVM type ie. 'Linux LVM' type . In fdisk , this can done by choosing 8e when prompted for partition type.
Since it is easy to script (non-interactive), I use parted command rather than... (1 Reply)
Discussion started by: John K
1 Replies
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 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; the names of the raw files 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.
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-7)
sn UNIX system slice n (0-15)
pn fdisk partition(0)
/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.10 9 Oct 2004 cmdk(7D)