10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello,
I am running ubuntu 14.04.
Have just installed torrent into home directory but /dev/md2 is almost full.
Is it possible to resize md2 to get rid of any problem that may arise in the near future?
Filesystem Size Used Avail Use% Mounted on
udev 17G 4.1k 17G 1% /dev... (2 Replies)
Discussion started by: baris35
2 Replies
2. Red Hat
Hello.,
Could any one please share the informaiton about this or please point me the reference :
Assume, we have the following partition after linux machine is setup, it will mention like this :
bash$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda2 10G... (3 Replies)
Discussion started by: alnhk
3 Replies
3. Red Hat
Hello All,
I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows,
/boot - Linux Partition & another is
LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc).
Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies
4. 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
5. Red Hat
Hi,
In my linux box I have installed /boot partition with 100MB. I have done compile for a newer kernel. The both kernels are required to me. Finally /boot partition has using 100%. I need to resize the /boot. Any body give the solution how to do resize the /boot partition without dusturbing the... (2 Replies)
Discussion started by: parsrigum
2 Replies
6. Red Hat
Hi Team,
Require your expertise on how to resize / partition.
This is VM.
Thank you.
Reggy
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 15G 13G 556M 96% /
/dev/sda1 965M 43M 873M 5% /boot
tmpfs 502M 0 ... (5 Replies)
Discussion started by: regmaster
5 Replies
7. Shell Programming and Scripting
Hello all
How is it going
I want Shell Patch
The work of the following division of the disk
Can this
200 MB EXT3 /boot
20 Gb EXT3 /
10 GB Swap
End Of Space ( Linux LVM )
Found a similar script can be customized by you to be the work required
#!/bin/bash
VSIZE=200
fdisk /dev/hda... (1 Reply)
Discussion started by: x-zer0
1 Replies
8. SCO
I have a 17GB SCSI disk in an SCO 5.0.6 server and it's running out of space because of a growing database on the disk. Consequently I would like to upgrade the 17GB to a 74GB disk and extend the partition.
First off, is partition extension available under HTFS - I know this is an old... (1 Reply)
Discussion started by: carribey
1 Replies
9. UNIX for Dummies Questions & Answers
I've created a partition with GNU Parted, how do I mount the partition?
The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards.
Thanks,
--Todd (1 Reply)
Discussion started by: jtp51
1 Replies
10. UNIX for Advanced & Expert Users
Experts,
I am trying to repartition my FreeBSD partition to accomodate 1GB of DOS partition so that I can have the samba share support. I wanted to know the procedure to resize an exsiting FreeBSD partition.
Thanks in advance for your help.
Regards,
Jim (1 Reply)
Discussion started by: jimmynath
1 Replies
PG_FIELD_TABLE(3) PG_FIELD_TABLE(3)
pg_field_table - Returns the name or oid of the tables field
SYNOPSIS
mixed pg_field_table (resource $result, int $field_number, [bool $oid_only = false])
DESCRIPTION
pg_field_table(3) returns the name of the table that field belongs to, or the table's oid if $oid_only is TRUE.
PARAMETERS
o $result
- PostgreSQL query result resource, returned by pg_query(3), pg_query_params(3) or pg_execute(3) (among others).
o $field_number
- Field number, starting from 0.
o $oid_only
- By default the tables name that field belongs to is returned but if $oid_only is set to TRUE, then the oid will instead be
returned.
RETURN VALUES
On success either the fields table name or oid. Or, FALSE on failure.
EXAMPLES
Example #1
Getting table information about a field
<?php
$dbconn = pg_connect("dbname=publisher") or die("Could not connect");
$res = pg_query($dbconn, "SELECT bar FROM foo");
echo pg_field_table($res, 0);
echo pg_field_table($res, 0, true);
$res = pg_query($dbconn, "SELECT version()");
var_dump(pg_field_table($res, 0));
?>
The above example will output something similar to:
foo
14379580
bool(false)
NOTES
Note
Returning the oid is much faster than returning the table name because fetching the table name requires a query to the database
system table.
SEE ALSO
pg_field_name(3), pg_field_type(3).
PHP Documentation Group PG_FIELD_TABLE(3)