Ubuntu Servers :: LVM Basic Size / Move

May 14, 2010

ok I have the original install 170GB partition mounted on /

I need the following;
OS on / 30 GB
data mounted on / data 140GB

Fdisk would have been a joke, but the box was setup via lvm, so I am learning on the fly. I was able to shrink the partition using;
lvreduce -L 30G /dev/mapper/server-root

vgcreate shows;
VG Size 169/76GiB
Alloc PE / Size 9453 / 36.93GiB
Free PE / Size 34005 / 132.83 GiB

Now, per my DBA, I need that 130 on a seperate 'partition' and I am not 100% sure on the next step. I am reading on vgcreate, lvcreate, etc.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Partition Size After Move Using Clonezilla?

Sep 3, 2010

I used Clonezilla to image a Ubuntu partition of 18GB and restored it to a partition of 30GB. (showing as "sdb1") I understand now that I should have put it onto a partition the same size as the original and then resized that partition with Gparted, but I put it directly onto a larger partition and thought all was well, but now I'm running into disk space warning messages. It still works fine but the OS still seems to think it is still on an 18GB partition and that it is running out of space. The partition "sdb1", is on a large drive I partitioned with Gparted. The various utils I have to look at partitions do not agree:

*Disk Utility reports sdb1 size as 33GB
*KDE Partition Manager reports sdb1 size as 30.28GB with 15.59GB used (therefore 14.69GB free)
*KDiskFree reports sdb1 size as 18.3GB with 1.8GB free
*Gparted reports sdb1 size as 30.28GB with 27.54GB used
*Gparted (used after booting from a Mint installation) give same result
*PROPERTIES (using live knoppix DVD) shows size of files as 16.0GB (16.5GB on disk)

After booting with Knoppix DVD and trying to copy everything onto another drive (to see how many GB there are) gives "invalid or incomplete multibyte or wide character" error message. how to sort this out, without resizing the partition as I've got a lot of data on the HD now.

View 1 Replies View Related

Ubuntu Servers :: XLS (Visual Basic) To ASP Conversion

Sep 16, 2010

I know this is a bit out in left field but my gf's dad has created a fairly large application in Excel 2003 and now we need to run it online. I setup mono and xsp2 on my Ubuntu server in order to test but have no idea how to convert a monster .xls file in VB to ASP or maybe even PHP (one can hope, right??)

View 9 Replies View Related

Ubuntu Servers :: Basic Configuration To Execute PHP Under Apache

Apr 7, 2011

On Ubuntu 10.04 with Apache and PHP installed, I can execute a test.php file

Code:

If I specify it on my Apache web server

Code:

However, I am not able to configure the web site to execute index.php automatically.

These are the settings I have.

Code:

View 2 Replies View Related

Ubuntu Servers :: Using Basic Iptables Config - But ALL Traffic DROPS

Jan 11, 2010

I'm using Ubuntu server 9.10 with 2 NICS (Internet-router-eth0, eth1-LAN). I use iptables to generate rules for 20 computers, but when I execute the script, ALL TRAFFIC DROPS, including the server. What am I doing wrong?

Code:
#!/bin/sh
#eth0 192.168.0.50 - connected to Internet
#eth1 192.168.1.51 - connected to LAN
#192.168.1.52 - workstation1
#set default policies
iptables -P INPUT DROP

[Code]...

iptables -A FORWARD -i eth1 -o eth0 -p tcp --dport 80 -s 192.168.1.52 -j ACCEPT. The reason I'm doing this is, I just want to open necessary ports in the server and restrict LAN usage.

View 2 Replies View Related

Ubuntu Servers :: LAN Setup - Basic File And Printer Sharing?

May 31, 2010

I am trying to set up a LAN with some basic file and printer sharing, as well as either a VPN or FTP server. I am setting up a server for an office with about 4 computers and one remote computer at a home office. I would like the server to back up a selected group of folders on all of the computers as well as share some printers between them all as well. If all of the other computers are windows computers will Ubuntu work for something like this? I would also like to host a website and e-mail server as well if the server is not loaded down too much. I know I can get windows server to work, but I would like to use something else if possible.

View 3 Replies View Related

Ubuntu Servers :: Basic Guest Samba Share No Worky?

Oct 18, 2010

I've been running Samba for a couple of years now. Bumped up from 9.04 to 10.10 server (64 bit), and nothing wants to work. I have a really simple share that I want to be accessible by all Windows clients without a login (guest access). Here is my config:

Code:
[global]
security = share

[code]....

View 3 Replies View Related

Ubuntu Servers :: Configure For Remote TCP/IP Client Conncections Using MS Visual Basic OLE DB C

Mar 9, 2011

I'm trying to get a VB program to make a client connection to my PostgreSQL server running on an Ubuntu 10.10 server. Here's what I've done: Client side - installed and registered the OLE DB .dll's from the PostgreSQL OLE DB Provider project. server side - the configuration described here: [URL]... Have added this line to postgresql.conf:

listen_addresses = '*, 144.96.80.35, localhost'
I've also tried this as simply:
listen_addresses = '144.96.80.35, localhost'
also, port = 5432
I have added the following to pg_hba.conf:
# IPv4 local connections:

[Code]...

View 6 Replies View Related

Ubuntu Servers :: Move Md0 Array From One Box To Another?

Oct 14, 2010

I've been poking at the options in mdadm and dmraid for 2 hours now and don't see exactly what I need. (and trying things I'm not 100% sure of would be silly)

2 drive raid1 array. moved to another box running the same version of Ubuntu. (10.04)

I've googled and googled and can't find anyone else with this same task - what am I missing? The array is physically fine and doesn't need rebuilding, unless in this context it does somehow.

The two devices are sdb and sdc.

Output of mdadm -Es:

Code:
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=97e83cac:4d76d392:e368bf24:bd0fce41

So the array is somehow visible, but I don't see what my next step needs to be.

View 1 Replies View Related

Ubuntu Servers :: Move XML Files From One Server To Another?

Dec 19, 2010

I'm looking for ideas on how to transfer a group of xml files from one server to another server, either in a regular interval or ?I have a listing program, it creates a directory or classified ad type listing. When one of these is created, or an existing one is edited an XML file is created. I need to take these files and get them to another server. I've read about SOAP, FOPEN and of course FTP.

View 1 Replies View Related

Ubuntu Servers :: Move Files To An Usb Stick?

Jul 30, 2011

Is there a way to move files to a usb stick?

View 6 Replies View Related

Ubuntu Servers :: Easiest Way To Move 200 Accounts To New Server?

Feb 9, 2010

I'm in the middle of moving my lab to a new server in the middle of the school year.. and need to copy all the user accounts to the new box, hopefully with all the student's passwords and contents of their folders intact.And since we are using the system daily, I need to do it all in an hour or 2.I'm thinking I can just

1. diff /etc/passwd and /etc/shadow from the old the new
2. copy all the student folders to new /home
3. write a script to set the permissions on all the new /home folders to match the user names.

It seems easy and safe so long as I back up the 2 existing files..Any reason not to try? Or is there an easier way?

View 1 Replies View Related

Ubuntu Servers :: Apt-mirror -- Move Distribution After End Of Life?

Apr 13, 2010

i have a complete local ubuntu mirror; nicely kept in sync by apt-mirror. unfortunately, i need to keep some of the old releases as well. [URL].. kindly provides those. with the upcoming end-of-life of intrepid ibex, i would like to move the packages for intrepid on my mirror to the directory i use for the old-releases, without having to download these approximately 30GB from the original server.

is there a way to move distributions in a local mirror? apt-move seems only capable of rearranging the packages in /var/cache/apt/archives/ .

View 8 Replies View Related

Ubuntu Servers :: 10.04 - Correct Procedure To Move LXC Container

May 6, 2010

I have a Ubuntu 10.04 server configured with an lxc container also running 10.04. I wonder if somebody knows the correct procedure to move such a container to another server? I tried a straight rsync both with the source up and down but mysql won't start on boot after move and if I manually start it none of the websites within the container are able to connect to mysql. I can connect to mysql using telnet of the command line client.

View 1 Replies View Related

Ubuntu Servers :: .htaccess For Redirect After Site Move?

Aug 10, 2010

How can I redirect my URL after a site move.I have phpBB forum software installed on a 10.04 server, and I recently moved the forums from mysite.com/forums/ to mysite.com/.

So, a thread that looked like
mysite.com/forums/viewtopic=...
now looks like

[code]...

View 2 Replies View Related

Ubuntu Servers :: Move A Software RAID Volume?

Apr 1, 2011

I have a software raid array (in this test case a mirrored set of two 500GB volumes) and I want to move them to another OS installation on the same hardware. (This is testing in preparation for a physical move two arrays onto a single server.) I had the array up and working (surviving reboots), wrote a test backup onto it in a folder.

Shut the machine down, re-installed ubuntu, got it up and running, then installed mdadm, rebooted with the array powered up and ran mdadm --detail --scan , expecting to see mdadm at least find the parts of the array. Instead, I get nothing. I even added -vv to get more verbose output. de nada.

[Code]...

View 9 Replies View Related

Ubuntu Servers :: Move A User To Group When He Is Created With Adducer?

Jan 14, 2010

When you create an user with adducer (name) an folder is automatically created to that user.

But how can i move a user to a group when he is created with adducer.

View 3 Replies View Related

Ubuntu Servers :: Change The Permissions To Enable To Move The Files?

Aug 28, 2010

So i pulled some files off my buddy's computer via my wireless home network, i can access them but in the permission tab the owner is "nobody" so i can move the files. How can i change the permissions to enable me to move the files?

View 3 Replies View Related

Ubuntu Servers :: Move Mails From Gmail To An Own Mail-Server

Sep 1, 2011

I've running my mails from 3 domains on Google Apps for several time, but I think it's time to set up my own Mail-Server now. I have a vServer and want to migrate my existing mails after setting it up. Now I have 2 questions.

1. Which components do I need / do you prefer for a mail-server(imap, smpt, webinterface)?
2. How do I get all my existing Mails in there?

View 2 Replies View Related

Ubuntu Servers :: Error Occurs When We Use Move Upload File, To The New Directory Within Our PHP App

Oct 7, 2010

We are running into issues with a File Upload script written in PHP. We can upload files without issues except with .*x files (such as .docx) We are getting permission denied errors. The error occurs when we use move upload file, to the new directory within our PHP app. If we give the uploads folder 777 access, it works fine without error. I dont like that. So I set it to 775 (Also dont like this), but it didnt work until I gave group ownership to www-data (I really dont like this)

This issue only happens on our production server, which is Ubuntu 9.04, running Apache2.2 and PHP5 will all the newest updates. We also have all MIME's configured, and are able to download the file from Apache without error. The first thing we noticed before the file permissions error, was that the MIME type changed to .zip when we used mime content type function. But yet using the FILES array, it still showed .docx.

View 2 Replies View Related

Ubuntu Servers :: 3.0 Tb Partition Size Limit?

Jun 19, 2010

I really don't understand what's happening.I make a 3.5tb RAID array in Disk Utility, yet it makes it so that one partition is 3tb and the other is 500 gigs free!Why is that? Ext4 can do huge partition sizes I thought.

View 1 Replies View Related

Ubuntu Servers :: Set Maximum Attachment Size?

Jun 4, 2011

I use U-server. I set up an mail server as described in Ubuntu Documentation > Ubuntu 11.04 > Ubuntu Server Guide > Email Services.

How can I turn off maximum attachment size. On my server I don't want to limit the size of e mails that arrives.

I manage my server with webmin

View 2 Replies View Related

Ubuntu Servers :: Increase Partition Size On 11.04?

Sep 1, 2011

I have a server setup running VirtualBox and several Windows guests. I'm running the box headless and start the windows machines using

Code:

sudo vboxheadless -s "WinXP Pro SP3"&

via SSH session from my MacBookPro in terminal. I then connect to the Virtual Machines running MS Remote Desktop from the MacBookPro. All of this works perfectly except that I've run out of space on my partition for Virtual Machines and need to create a few more. I have plenty of room on the HDD but when first installing Ubuntu Server I only partitioned and formated about 1/4 of the drive. Is it possible to run a command in my SSH session at the command line to partition the unused portion of the HDD, format it, and expand my current partition into that space? Or, do I have to use something like gpartedlive, boot from the CD and do the partitioning?

View 7 Replies View Related

Ubuntu Servers :: How To Decrease Thread Stack Size

Feb 5, 2010

Desperate to reduce RAM usage of my tiny VPS running Ubuntu 9.04 and Apache2.2.11, here I saw that:
On Linux, each child process will use 8MB of memory by default. This is probably unnecessary. You can decrease the overall memory used by Apache by setting ThreadStackSize used by Apache by setting ThreadStackSize to 1MB in.

So I tried to give the suggestion a try. But when I append:
ThreadStackSize 1000000
in my /etc/apache2/httpd.conf <IfModule mpm_prefork_module> directive, and restarted apache, it failed with this message:
Invalid command 'ThreadStackSize', perhaps misspelled or defined by a module not included in the server configuration

So I figured out that the relevant modules are neither enabled nor available on apache2. Now I am wondering whether there is a way to decrease the ThreadStackSize without the need to compile apache from source? If not, what should I do?

View 1 Replies View Related

Ubuntu Servers :: Set CLI Font Size (screen Resolution) From CLI

Mar 7, 2010

I've just installed Ubunter Server 9.04 (after having installed 9.10, having problems with it, and uninstalling it). Mostly, 9.04 is working well so far, but for one nuisance: the font is huge.

Well, okay, not huge, but big. On my other machine, running Ubuntu 9.04 desktop, same size monitor, I have the resolution set to 1440x900 which gives me 46 lines on the CLI (with the window maximized, but not full-screen). On the server machine, however, I'm getting only 25 lines -- and there's not even a window title-bar, menu bar, or panels taking up any of the landscape.

So my question is this: Not having a GUI nor any of the associated display-management software, how can I set the screen resolution or otherwise get my display font smaller, using the CLI?

View 2 Replies View Related

Ubuntu Servers :: Boot Is Using 95.3% Of 129MB - Increase The Size?

Aug 6, 2010

=> /boot is using 95.3% of 129MB Size 129.12 MB / Free 113 kB So why is it using so much? And how can I increase the size? Ubuntu 10.04 lts server 64 bit.

View 3 Replies View Related

Ubuntu Servers :: RAID 5 Failure While Increasing Size?

Sep 6, 2010

Based on the reading I've done over the past 48 hours I think I'm in serious trouble here with my RAID 5 array. I got another 1 TB drive and added to my other 3 to increase my space to 3 TB...no problem.

While the array was resyncing...it got to about 40%, I had a power failure. So I'm pretty sure it failed while it was growing the array...not the partition. Next time I booted mdadm didn't even detect the array. I fiddled around trying to get mdadm to recognize my array, but no luck.

I finally got desperate enough to just create the array again...I knew the settings of my and had seen some people have success with this method. When creating it, it asked me if I was sure because the disks appeared to belong to an array already, but I said yes. The problem is when I created it, it created a clean array and this is what I'm left with.

Code:
/dev/md0:
Version : 00.90
Creation Time : Sun Sep 5 20:01:08 2010
Raid Level : raid5
Array Size : 2930279808 (2794.53 GiB 3000.61 GB)

[Code]....

I tried looking for backup superblock locations using e2fsck and every other tool I could find, but nothing worked. I tried testdisk which says it found my partition on /dev/md0, so I let it create the partition. Now I have a /dev/md0p1, which won't let me mount it either. What's interesting is gparted reports /dev/md0p1 as the old partition size (1.82 TB)...the data has to still be there, right?

View 3 Replies View Related

Ubuntu Servers :: Apt - Get File Size Mismatch Due To SQUID?

Sep 9, 2010

I am trying to get apt-get to work on a server thats behind a squid proxy server.I have added exections in squid.conf to allow all on [URL]..apt-get can find updates but when it try's to download/install I get

Code:
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/g/gdebi/gdebi_0.6.0ubuntu2_all.deb Size mismatch
if I
Code:
wget http://gb.archive.ubuntu.com/ubuntu/pool/main/g/gdebi/gdebi_0.6.0ubuntu2_all.deb
it works..

View 1 Replies View Related

Ubuntu Servers :: Increase Size Of Root Directory?

Sep 27, 2010

Is it possible to increase the size of the root directory / on ubuntu 9.10?

View 5 Replies View Related

Ubuntu Servers :: Users Home Folder Size?

Nov 25, 2010

how can i increase my user's home folder size to 3Gb or more? of-course with using webmin

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved