08-24-2010
Quote:
Originally Posted by
jlliagre
Yes although you need the "-o largefiles" mount option set.
---------- Post updated at 12:57 ---------- Previous update was at 12:38 ----------
Knowing the precise slice layout (vtoc) is a requirement to know if the root partition then the file system inside it can be expanded.
confused
![Roll Eyes (Sarcastic) Smilie](https://www.unix.com/images/smilies/rolleyes.gif)
i think i need to learn more about vtoc.
10 More Discussions You Might Find Interesting
1. Solaris
I had Solaris 8 installed on a Ultra 10 machine but during a shutdown the root partition got corrupted. I have 3 other partitions on the drive (var, swap, home). Is there a way to reinstall the root partition without effecting the other partitions?
Also, when I run format from single user mode I... (4 Replies)
Discussion started by: jbestor
4 Replies
2. Solaris
Dear all, How can we increase the space for the root partition, ensuring that there is no loss of data in Solaris 9. How can the growfs command be utilized in this case.
Thanks. (7 Replies)
Discussion started by: asadlone
7 Replies
3. Solaris
Hi
we have a sunfire v880 server . we have a problem with root partion it showing 90% full. so anyone can help me how to increase the size of that partion.
NOTE: It is not in veritas & SVM control.
Regards
prakash (6 Replies)
Discussion started by: pshelke
6 Replies
4. Solaris
OS: Solaris 10_x86.
Problem:
Server needs to be patched, but root "/" is near full.
/dev/dsk/c1t1d0s0 4.2G 3.9G 284M 94% /
The /exports/home dir has a lot more space, and I'd like to either move root "/" to it, or delete it all together:
/dev/dsk/c1t1d0s7 12G ... (20 Replies)
Discussion started by: b1f30
20 Replies
5. Solaris
Dear all,
I have a root partition which is 20 G in size. I have var and /tmp as seperate file systems. But this 20 G of root is not sufficeint.
I want to increase the size of the / partition.
Is there any way to increase with out down time.
my df -k output is
Filesystem ... (4 Replies)
Discussion started by: jegaraman
4 Replies
6. Red Hat
i am using redhat 5.4 and my root size shows 98 %, how can i increase root size
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 77G 16G 75G 98% /
/dev/sda1 2.4G 82M 2.2G 4% /boot
tmpfs 3.8G 0 3.8G 0%... (8 Replies)
Discussion started by: reply.ravi
8 Replies
7. Solaris
Hello guys,
I am using Solaris 10 x86 OS. While installing OS i have allocated entire 10 GB space to the root. Now i am not able to create new partition it says me "out of range" or "<cylinder number> not expected". Can someone please help me to allocated a default recommended space i.e 8GB or... (2 Replies)
Discussion started by: bhargav90
2 Replies
8. SCO
I have SCO Openserver 5.0.5
Root partition is 96% full and I would like to make it bigger. How can this be done?
1) Can I use 'dd' to backup 'root' and then backup '/u' to a third hard disk, then divvy the primary hard disk to have a larger 'root' filesystem (i.e. previous root + u)
2) ... (5 Replies)
Discussion started by: grips03
5 Replies
9. Ubuntu
Dear Concern,
I am new in ubuntu. Is root user disable in ubuntu? Also, is os partition default in ubuntu? I don't find any feature to create customize mount point to install OS.
Below is my current OS partition.
amirislam@blnidapp03:~$ df -h
Filesystem Size Used... (1 Reply)
Discussion started by: makauser
1 Replies
10. Red Hat
Dear All ,
We need to increase the size of the root partition in a RHEL server.
The model is Product Name: SUN FIRE X4170 SERVER.
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
119G 47G 67G 41% /... (3 Replies)
Discussion started by: jegaraman
3 Replies
LEARN ABOUT SUNOS
efi_free
efi_alloc_and_init(3EXT) Extended Library Functions efi_alloc_and_init(3EXT)
NAME
efi_alloc_and_init, efi_alloc_and_read, efi_free, efi_write - manipulate a disk's EFI Partition Table
SYNOPSIS
cc [ flag ... ] file... -lefi [ library ... ]
#include <sys/vtoc.h>
#include <sys/efi_partition.h>
int efi_alloc_and_init(int fd, uint32_t nparts, dk_gpt_t **vtoc);
int efi_alloc_and_read(int fd, dk_gpt_t **vtoc);
void efi_free(dk_gpt_t *vtoc);
int efi_write(int fd, dk_gpt_t *vtoc);
DESCRIPTION
The efi_alloc_and_init() function initializes the dk_gpt_t structure specified by vtoc in preparation for a call to efi_write(). It calcu-
lates and initializes the efi_version, efi_lbasize, efi_nparts, efi_first_u_lba, efi_last_lba, and efi_last_u_lba members of this
sturcture. The caller can then set the efi_nparts member.
The efi_alloc_and_read() function allocates memory and returns the partition table.
The efi_free() function frees the memory allocated by efi_alloc_and_init() and efi_alloc_and_read().
The efi_write() function writes the EFI partition table.
The fd argument refers to any slice on a raw disk, opened with O_NDELAY. See open(2).
The nparts argument specifies the number of desired partitions.
The vtoc argument is a dk_gpt_t structure that describes an EFI partition table and contains at least the following members:
uint_t efi_version; /* set to EFI_VERSION_CURRENT */
uint_t efi_nparts; /* number of partitions in efi_parts */
uint_t efi_lbasize; /* size of block in bytes */
diskaddr_t efi_last_lba; /* last block on the disk */
diskaddr_t efi_first_u_lba; /* first block after labels */
diskaddr_t efi_last_u_lba; /* last block before backup labels */
struct dk_part efi_parts[]; /* array of partitions */
RETURN VALUES
Upon successful completion, efi_alloc_and_init() returns 0. Otherwise it returns VT_EIO if an I/O operation to the disk fails.
Upon successful completion, efi_alloc_and_read() returns a positive integer indicating the slice index associated with the open file
descriptor. Otherwise, it returns a negative integer to indicate one of the following:
VT_EIO An I/O error occurred.
VT_ERROR An unknown error occurred.
VT_EINVAL An EFI label was not found.
Upon successful completion, efi_write() returns 0. Otherwise, it returns a negative integer to indicate one of the following:
VT_EIO An I/O error occurred.
VT_ERROR An unknown error occurred.
VT_EINVAL The label contains incorrect data.
USAGE
The EFI label is used on disks with more than 1**32-1 blocks. For compatibility reasons, the read_vtoc(3EXT) and write_vtoc() functions
should be used on smaller disks. The application should attempt the read_vtoc() or write_vtoc() call, check for an error of VT_ENOTSUP,
then call the analogous EFI function.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO
fmthard(1M), format(1M), prtvtoc(1M), ioctl(2), open(2), libefi(3LIB), read_vtoc(3EXT), attributes(5), dkio(7I)
SunOS 5.10 23 Jul 2002 efi_alloc_and_init(3EXT)