10-01-2010
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:confused: Hello,
In my Solaris system, I want to resize my mounted home directory slice.
1.I unmount the slice, #umount /export/home
2.Resize the directory #format>partition>
3.#format>label
4.#format>Cannot label disk when partitions are in use as described.
So, How can label ?
Thanks (2 Replies)
Discussion started by: XNOR
2 Replies
2. Solaris
Hi Fellows,
I am trying to mirror 2 identical disks on a SUN Ultra 10 machines (with new installation of Solaris 8). In the process, I found 2 issues:
1. prtvtoc /dev/rdsk/c0t0d0s0 | fmthard -s - /dev/rdsk/c0t1d0s0
Result: Disk partitions between the 2 disks do not match up.
2. manually... (2 Replies)
Discussion started by: o51974
2 Replies
3. Solaris
I 'm having problem in importing a zfs pool was getting error device missing and upon further digging found that labels on my disk for zpool are missing
Does anyone know how to recover from it ?
root@essapl020-u006 # zdb -l /dev/dsk/emcpower0c
--------------------------------------------... (0 Replies)
Discussion started by: fugitive
0 Replies
4. Solaris
Hello,
I'm brand new to Sun/Solaris.
I have a Sun Blade 150, with SunOS 5.8.
I wanted to make a backup to prevent future data loss, so I put the disk in a normal PC with Windows XP to try to make a backup with Norton Ghost, the disk was detected, but not the file volume, so I place the disk... (6 Replies)
Discussion started by: Resadija
6 Replies
5. Hardware
I have a external HD that I can't seem to open. When I try to open it with gparted it says unrecognized disk. When I run gparted from the terminal this is what it says.
~ $ sudo gparted
======================
libparted : 2.2
======================
/dev/sdb: unrecognised disk label
When I... (18 Replies)
Discussion started by: cokedude
18 Replies
6. Solaris
Hi there,
I am trying to do root volume mirroring on SunFire V210 server. I have two disks in it.First one is c1t0do and second one is c1t1do. Both disks already have partitions in them so I am deleting the partitions of second disk(c1t1do) using format command and selecting cylinder start 0... (2 Replies)
Discussion started by: newbi8321
2 Replies
7. Solaris
Hi Guys,
Do you have any script to label a disk automatically.
It is part of my script but I am not able to find solution to label this inside script without user intervention. (2 Replies)
Discussion started by: prashant2507198
2 Replies
8. AIX
I've managed to bork a volume label on a disk that's shared out via GPFS. There has to be a fairly simple dd command to rewrite the blocks in question, but I can't seem to dig up the information necessary anywhere I look. Any help would be greatly appreciated!
Fri Feb 28 15:20:26 EST 2014:... (1 Reply)
Discussion started by: kneemoe
1 Replies
9. Hardware
Hi everyone,
I have an external hard drive and I accidentally deleted the partition table.
Can I restore my files?
If I try to run the f-disk command this is what it says
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units =... (1 Reply)
Discussion started by: Sampa
1 Replies
10. Solaris
This is first time post...found this forum when looking for possible solution to fix my sun pc. Just one day can't boot it already showing the following:
Boot device: disk File args:
Bad magic number in disk label
Can't open disk label package
Evaluating: boot
Can't open boot device... (40 Replies)
Discussion started by: SHuKoSuGi
40 Replies
LEARN ABOUT OSF1
extendfs
extendfs(8) System Manager's Manual extendfs(8)
NAME
extendfs - Extends UFS file systems
SYNOPSIS
/sbin/extendfs [- s] [disk_blocks] device_name
DESCRIPTION
Use the extendfs command to increase the storage space in a UFS file system. The file system must not be mounted when you perform this
operation. To extend a mounted (in use) UFS file system, use the mount command with the -o extend option.
The procedure for increasing the storage space of a UFS file system is as follows: Look at the contents the /etc/fstab file to identify the
disk partition that maps to the file system. Ensure that there is available storage space on the target disk as follows: If LSM is in use
on your system, use LSM commands to increase the size of the LSM volume as described in the Logical Storage Manager guide. If LSM is not
in use on your system, use the disklabel command or the diskconfig graphical user interface to check the current size and use of partitions
on the disk. If there is adequate space on an adjacent partition, use the disklabel command to write the current label to a file as fol-
lows: # disklabel -r dsk4 > d4label Edit the disklabel file to change the size of the partition on which your UFS file system resides.
Increase the number of disk blocks on the partition and decrease the disk block size of the adjacent partition by an equivalent number.
Use the disklabel command with the -R option to write the revised label to the raw disk as follows: # disklabel -R /dev/rdisk/dsk4 d4label
When the disk label is revised, extend the file system using the extendfs command. You can either use the full extent of the newly sized
partition or extend the file system in stages. The following example commands show both methods. To extend the file system to use all the
available space, you specify the disk partition on which the file system resides, as follows: # extendfs /dev/disk/dsk4g To extend the
file system to use only part of the available space, you specify a number of disk blocks, as follows: # extendfs -s 300000 /dev/disk/dsk4g
The remainder of the extended partion is reserved for future use.
You can extend a file system as many times as necessary, up to the physical limit of the storage device. When no more space is available
on the storage device, you must back up the file system using the dump command and restore the file system to a storage device that has
more available space.
Once you have extended a file system, the operation cannot be reversed except by a back up and restore operation. Use the dump command to
back up the file system. You can then reset the partition sizes manually and restore the file system to the storage device.
ERRORS
The disklabel command produces output similar to that of the newfs command. If a list of disk blocks is not displayed on the terminal, the
command has failed. Verify the partition settings and the mount status of the target file system.
The disklabel command does not permit you to overwrite a partition if it is in use. Refer to the disklabel(8) reference page for more
information on label errors.
FILES
Specifies the command path.
RELATED INFORMATION
diskconfig(8), disklabel(8), mount(8), and fstab(4).
extendfs(8)