12-03-2006
It cant be done using if of ?
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
How can I move some space allocated to one partition to another,
i.e. from "/var" to "/" .
Thanks! (4 Replies)
Discussion started by: jason6792
4 Replies
2. HP-UX
Hi All,
I'm trying to move a disk array installed to one server has HPUX 11.0 to another server with the same OS version.
But how can I make the other server recognize the disks with all the volume groups and logical volumes I have created.
Please advice.
Thank you.
:) (3 Replies)
Discussion started by: ranias
3 Replies
3. Solaris
I have a slice on a 72GB hard drive like this (example):
/dev/dsk/c0t1d0s0 51424287 51009 50859036 1% /usr/stuff
that I need to copy or move to a slice on a MUCH larger slice like this:
/dev/dsk/c0t2d0s6 70592505 570236 69316344 1% /usr/newstuff
What is the... (4 Replies)
Discussion started by: antalexi
4 Replies
4. BSD
I am currently running DesktopBSD as a live-CD and need to have a large /var partition because it is currently too small. I have a USB stick which is BSD formatted, and would like to have the /var partition moved over to it. How can this be done? Could I for instance use a symlink? (1 Reply)
Discussion started by: figaro
1 Replies
5. Solaris
I am trying to expand the root partition on Solaris 10. I can expand root partition using format/partition command, but usually increasing cylinders on partition is done on back end. In this case I would have to expand from the front end following the table below, meaning I would have to move the... (12 Replies)
Discussion started by: mjaminal
12 Replies
6. Solaris
Hello Gurus,
Im trying to migrate some SAN disks from sparc server to X86 one, and having issues with disks not getting mounted on the X86 server with " not this fstyp error" due to the different partitions lay out between the two OS. I have tried it from sparc to sparc server and it worked,... (10 Replies)
Discussion started by: aladdin
10 Replies
7. Solaris
Dear All,
I am using solaris 9,I want to take the backup all the partition of my system 1 by 1 and put it into tape device.
Below is the df -kh output
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d1 11G 3.4G 7.9G 31% /
/dev/md/dsk/d6 ... (4 Replies)
Discussion started by: monojcool
4 Replies
8. Solaris
Hello Gurus,
I need your help with this please. I am trying to move a zone to a new directory but it keeps failing.
Below is what I did and the message I get. Your help will be appreciated.
Thanks
zoneadm -z testzone move /rpool/testzone
cannot create ZFS dataset rpool/testzone: dataset... (1 Reply)
Discussion started by: cjashu
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)