Ubuntu Servers :: Extending File System Partition Remotely?

Aug 24, 2010

I'm still pretty new to servers and ubuntu and have ran into something I could see being a problem in the future. On a dedicated remote server I have installed a web server using the "How To Forge - Perfect server set up for ubuntu 10.04 and ispconfig". I have a forum and email up and running and shoutcast radio and teamspeak3 servers also. We can also nx into it if need be. I can reformat the 1T hdd remotely from my provider control panel and ssh is installed at the same time and a new root password is sent via email. The thing is I now realise that by default the file system is written to a 10gig partition.

This might usually be ok but ispconfig uses the /var/www folder on the file system to house the forum I host and the partition is filling up. My mate I co rent with is talking about starting a parrot/bird owners forum and i might eventually like to have a gaming forum as well. I realise I should probably have set things up differently but like I said I am new at all this and tbh the home directories never going to have much in it so theres 900 gig doing nothing. So my question is can I use anything to enlarge that partition remotely? I know theres gparted on disc and all the articles I found say I need to use a disc which obviously is out of the question.

So what I think I need is some sort of partition magic for ubuntu. I would really like to expand it so all my current files etc on it would stay as is. I'm also currently looking into back up methods and wondered if that would be the way to go? Back up my file system and home directories and then reformat and make the partition larger? Or could I copy the entire www folder to a newly created folder in /home and re write the site enabled files to point to it? Would this work and if so what else would I need to edit?

View 9 Replies


ADVERTISEMENT

Ubuntu :: Extending Partition Into Unallocated Space

Aug 31, 2010

i would like to extend my main file system into the unallocated space that i have on my hard drive, the unallocated space is most of it, as it used to be a partition but was deleted, do i have to do this with a boot up disk because i think that it can only be done on an unmounted partition, or is there a way to do this while linux is running in the main partition.

View 1 Replies View Related

General :: Extending Partition Into Another Physical Drive?

Oct 4, 2010

Is it possible if I am only using ext3 and no LVM or anything else to re-size the partition into another physical device? I am pretty sure the answer to this is no but I was still curious as I am facing a full 1tb disk and need to add a new drive and unsure how to do this due to shared folders existing on the old drive and no way to actually expand them without linking in new files or something.

View 8 Replies View Related

General :: Extending Root Partition By Shrinking VAR Space

Apr 5, 2011

I have serwer Debian with my website. My provider splited the disc into 5GB partition for / and 495GB partition for /var. Everything was going ok for over two years but now I don't have enough memory on /. I'd like to increase the partition but the problem is that /var is just next to it so I can't easily change the end of the first one. I need some safe solution. It might be even just shrinking partition for /var, adding new one after if it helps anyhow (I have about 450GB free memory).

Some outputs
Code: # df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 5201536 5173904 0 100% /
tmpfs 1023464 0 1023464 0% /lib/init/rw
udev 10240 2672 7568 27% /dev
tmpfs 1023464 0 1023464 0% /dev/shm
/dev/sda2 478812280 10336484 444345032 3% /var
overflow 1024 4 1020 1% /tmp

# parted print
GNU Parted 2.3
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA ST3500418AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 512B 5369MB 5369MB primary ext3 boot
2 5369MB 500GB 494GB primary ext3
3 500GB 500GB 538MB primary linux-swap(v1)

View 2 Replies View Related

Red Hat / Fedora :: Extending Primary Partition - Allocating Space To SDA1

Jun 27, 2010

I have installed oracle enterprise linux on VM ware with 20 gb allocated to guest OS. Now I want to install oracle apps in the guest Os, so I need to extend the volume. I have extended in Vm , but I have to partition in the guest OS, for that purpose I am using Gparted. But I am unable to extend to sda1. I need to have all the unallocation space allocated to sda1. Here is the screen shot, how can I do that. Right now when in press the command df -h in terminal I am gettig 18 gb as space available for sda1, I want to make it 200 gb, in which I would like to install oracle apps. Check out my screen shot.

View 5 Replies View Related

Red Hat / Fedora :: Extending Root Partition - Volume Group Not Found

Sep 20, 2010

I am trying to extend my / size as its full. Well the volume group is VolGroup00 & logical volume is LogVol00 but when. I run the command vgextend VolGroup00 /dev/sda8. It says volume group not found. Can it be because I have WindowsXP in my /dev/sda1, which falls under same Volgroup??

View 1 Replies View Related

General :: Automating USB Drive Configuration Of Partition Table, Partition And File System

Jan 26, 2011

I have tried to automate the configuration of a usb drive with not much success.

The problem that I have is that I have a large amount of usb drives that have a partition table of type "loop" and I need to change them to "msdos". The size of the drives vary and I need to use FAT32 or FAT16 file system.

I've tried various partitioning commands and gui applications but cant find one that I can give a one line command to to set the partition table, maximum partition size and file system.

View 9 Replies View Related

Software :: Adding Drive - Extending VG And LV - Partition New Drive?

May 10, 2010

I need to expand one logical volume which is now in 99% utilization. The volume group only have 5GB and they need 25GB more so that I can add 30GB. The disks will be coming from SAN Storage. If the SAN Admin can successfully add the disks to the server and I can see it, should I still partition it and change the type to Linux LVM?

I have tried just doing a pvcreate without partitioning and do a vgextend and it works without actually partitioning the disks. But when I do "fdisk -l", it actually shows that the disk don't have partition.

Whether I need to partition the drive to 8e (Linux LVM) before doing? Which one is better? Below are my steps and please let me know if this the correct one.

Here's my steps:

1.) dmesg | grep sd (to check the newly added disks)
2.) fdisk /dev/sdx (create primary partition and assign Linux LVM to type)
3.) pvcreate /dev/sdx
4.) vgextend VolumeName /dev/sdx
5.) lvextend -L+30G Volume01 /dev/Volume01/lv01
6.) umount /dev/Volume01/lv01
7.) resize2fs /dev/Volume01/lv01
8.) mount /dev/Volume01/lv01 /lv01
9.) df -h (check if resized successfully)

View 9 Replies View Related

Ubuntu Servers :: Deciding File System For File Server (samba)?

Jan 7, 2011

I'm planning to add 1tb sata disk to my lovely file-server under ubuntu 10.10,what i want is use this disk as additional storage for network user,indows and ubuntu?I mean when my ubuntu server down (worse case) I can easily take out the disk from ubuntu machine and plug in on windows machine

View 2 Replies View Related

General :: Remotely Access The Files On The XP Partition?

Sep 22, 2010

I have an SSH server set up on CentOS 5.5 which I can succesfully use to access my file system remotely.

On this machine, I also have a partition with XP installed on it. Is there a way I can set up the SSH server so that I can remotely access the files on the XP partition?

View 7 Replies View Related

Ubuntu :: Create New Partition On 10.4 To Mount File System?

Jan 16, 2011

new partition is sda or,hda i bit confusing here

my system ------------------
/dev/sda1-c drive
/dev/sda5 -d: drive
/dev/sda6 -ubuntu 10.4 partition
--------------------------------------
which partition do i need to make tell me the commands for ubuntu 10.4

i tried 'fdisk /dev/sda3' but it is show unable to open,thing is iam confusing my quetion is i want mount one file system with name hda5/other to this new partition 'mke2fs -v /dev/[xxx]'---command for to mount file system xxx(here hda5) to that (new partition) partition
how to do

View 2 Replies View Related

Ubuntu Servers :: How To Wake Up KVM Remotely

Feb 16, 2010

I have made a virtual machine on my server using virt-manager that I access using virt-viewer from my desktop/laptop. Currently I am having to leave the VM on all the time. Which is a waste of cpu/ram etc. Ideally I would like to be able to wake the vm up from virt-viewer or from a bash script being ran on my desktop.

View 1 Replies View Related

Ubuntu :: Usb Drive Partition File System Rescue - Messed Up

Mar 12, 2010

Last night I was making a boot usb drive with usb startup creator onto a USB external well I, messed up and lost the partition table for 2 USB drives: my 500 gb hard drive was pluged in whilst i was doing this silly i know it was partitioned 251 gb its now showing as 500 gb but the data is still on drive it seems the file system is gone or damaged

View 2 Replies View Related

Ubuntu :: Assign Permissions On A Partition With Ntfs As The File System?

Apr 6, 2010

can assign permissions on a partition with ntfs as the file system. I am aware of editing fstab and setting some basic permissions. What I am clumsily dictating is can you edit permissions of individual folders for specific users in Linux. I have already tried chmod and such

etc something similar to this

Code:
[user@computername user]$ sudo chmod 600 directory

View 4 Replies View Related

Ubuntu Servers :: Set Up Server To Accses Remotely

Jul 31, 2010

i am wanting to install ubunru server edition on an older sony vio desktop to use as a server i can access remotely. i will be needing to however access this server remotely from a college i attend throughout parts of the year.

View 9 Replies View Related

Ubuntu Servers :: Remotely Reboot Via Web Interface?

May 2, 2011

Is there any web interface that I can install to remotely reboot ubuntu? It would only be accessible via a VPN or on the LAN so not too much worry over security.

View 3 Replies View Related

Ubuntu Installation :: 10.04 64-bit Server With Vmware And SSD - Setup The File System On Each Partition?

Apr 24, 2010

I have just bought two SSD, Intel X25-M 80GB, to install Ubuntu 10.04 64-bit server with vmware on a computer with 8GB RAM. I have tried to find out how to set up the system, but is somewhat confused on the setup. The idea is to use software raid to aviod data loss if one SSD is giving up in the future. When installing I have thought about using tree partitions.Swap Root Vmware vhd When reading about how to optimize vwware I found this:

Quote: Disks, Disks, Disks: I always attempt to put my guest OSs on their own partition and I format that partition thusly because VMWare server reads guests in huge blocks (/dev/sdb1 is the partition my guests reside on): mke2fs -b 4096 -R stride=8 /dev/sdb1

Then I set the block readahead value to somewhere around 16384, but you can go as high as twice that value (in my case this is an entire disk array, so I dropped the partition indicator): blockdev �setra 16384 /dev/sdb

How should I setup the file system on each partition? When using an SSD, each partition should be aligned. How do I do that? Let say I would like to have 4GB swap, 60GB root and the rest for vmware. At last, I have fount out that full support for TRIM is supported by kernel v2.6.33. Ubuntu 10.04 is using v2.6.32? If so, for full TRIM support I must upgrade kernel to v2.6.33.

View 1 Replies View Related

Ubuntu :: Is NTFS A Good File System For A Shared Partition Between WinXP

May 30, 2010

Someone on IRC had mentioned they had a shared partition in NTFS, and that Ubuntu could read from it just fine... I wanted to get a second opinion before I did anything. Right now I have a WinXP partition and an Ubuntu partition, and a large NTFS partition in the middle that I'd like to move my /home to.

View 7 Replies View Related

Ubuntu Installation :: The Ext4 File System Creation In Partition Failed?

Feb 11, 2011

I have a Dell Mini 9 netbook. The SSD took a dump, so I ordered a Super Talent 16gb replacement. I put it in yesterday, tried to install 10.10 and constantly get errors. The first error, which I haven't had since, was [ERROR 30] Read-only File System. The install obviously failed. Wondering if perhaps the file got messed up in translation, I redownloaded 10.10, reformatted the flash drive (sandisk cruizer 4gb), put 10.10 back on via the program on the Ubuntu site. No luck, but no longer the [error 30]. Tried again using Unetbootin, no luck. Rinse repeat a few times, no errors just a working cursor spinning and spinning and spinning and spinning and.. you get it.

Tried to put WinXP on it just because I was that frustrated, no luck.

Now I'm back to Ubuntu (because let's face it, who wants to deal with Windows, christ they make it so complicated). I'm currently using 10.04 because I was hoping (praying) it might just be a 10.10 thing.

No such luck, now it goes to step 7/7, starts, and 5% of the way thry "creating ext4 file system" it says "the ext4 file system creation in partition #1 (0,0,0)(sda) failed." I have checked the SSD in the Disk Utility, SMART tests are clean. I have gone to terminal and run fdisk and had a smarter person than me look at the copypasta, no errors, I have deleted all existing partitions in gparted and started fresh. I have tried the auto partitioning, I have tried manual, I am going insane. Literally insane. My preschooler thinks I've leaped off the deep end.

Could it be my flash drive? Could the SSD be defective despite the tests coming back clean? What do I need to type into terminal? Is there a way to entirely entirely entirely wipe the SSD to make it fresh-out-the-box clean? I will happily provide whatever you need if it means I can get my husband off my back about this stupid netbook with its stupid tiny keyboard.

View 1 Replies View Related

Ubuntu :: Repairing File System After Partial Fsck On Mounted Partition?

Apr 4, 2011

I'm running an Acer Aspire 1830T-3721 dual-booting Windows 7 with Ubuntu 10.10 (Desktop).

Background: So first I dropped my laptop a couple feet while Windows was running. The laptop immediately shut off and then tried to boot. Booting Windows results in an unfortunate "Windows has encountered a problem communicating with a device connected to your computer. The error can be caused by ... faulty hardware ... Status: Oxc00000e9 Info: An unexpected I/O error has occurred." But Ubuntu booted fine, and could access my NTFS files fine, so I was trying to work on the problem from there. I try a few utilities, looking at the partition table, etc without actually applying any changes.

Then I run a fsck on the drive. It loudly warns me that if I continue on a mounted drive, then I'm going to mess things up. In a moment of stupidity I push on, thinking that surely it would ask me for more configuration, or confirmation, before actually starting. The fsck runs for about 1 second before I Ctrl-C it, running some preliminary stuff and then just starting pass 1.

After this, Ubuntu won't boot anymore. Instead, it hangs just after the init-bottom script runs. If I boot with init=/bin/bash, I can get to a shell, and see that my file system is still there, but not sure what else to do.

I've been running off of a SysRescCD LiveCD, from which I've looked at the drive with testdisk. Testdisk reports that "the hard disk seems too small" while showing me the partition table.

I ran a fsck on the Linux partition; it fixed a bunch of things. There has been no apparent effect on the boot behavior.

I can access all my files, back them up, and reinstall Ubuntu, but I'm hoping there's a better solution, perhaps one that will also help me repair my Windows installation (but I'm looking at one problem at a time here).

View 4 Replies View Related

Debian Installation :: File System For Boot Partition?

Dec 31, 2010

Is there recommended file system for boot partition. Debian default use ext2. Why? Can it be used ext4? I know the difference between ext2 and ext4. But why, currently in Debian, boot partition is ext2 and all others are formated with ext3...

View 3 Replies View Related

Fedora :: How To Increase System File's Partition Size

Feb 22, 2010

Can anyone tell me how to increase system file's partition size.I have ext3 type partition where FC11 is installed.Is it possible to increase the size of ext3 without lost of data?

View 2 Replies View Related

Red Hat / Fedora :: Allocate Partition Space To File System

Sep 7, 2010

I have a VMWARE machine, I have extended it from 20GB to 30GB for Linux box.How do I take the additional 10GB that it has and allocate it to -dev-mapper-VolGroup00-LogVol00 ?That way I can use the 10GB of available space in that file system.

View 1 Replies View Related

General :: File System Loads / Load The Partition?

Aug 27, 2010

my data resides in a partition sda2 - in a logical volume lv_root.unless I'm wrong lv_root contains the information on how to load the partition.so superficially it seems the partition must be loaded bofore we get the info on how to load it.

View 20 Replies View Related

Ubuntu :: How To Properly Shut Down System Remotely With SSH

Apr 21, 2010

So I've got a backup server that has a daily cronjob to back up all my systems. My desktop PC is usually in sleep mode to save power. So my backup server has to wake up the desktop via wake-on-LAN to start the backup job. When the backup script is done, my backup server sends a shutdown command to the desktop to put it back in sleep mode.

The trouble is that SSH is timing out during the shutdown process and waits a ridiculous amount of time before giving up and allowing my backup server to move on to the next backup script. Here's the portion of my backup script for the desktop that does the shutdown stuff:

Code:
ssh user@host.lan '/usr/bin/shutdown -p +1'

Here's what cron sends me via e-mail:

Code:
Read from remote host host.lan: Connection timed out
real 164m46.280s
user 5m16.160s
sys 1m39.760s

Normally the entire backup job will only take about 5 minutes. But because of SSH timing out, it takes 164 minutes!

As a matter of detail, my backup server is running Ubuntu 9.10, and the desktop is Windows 7 x64 with Cygwin. The -p option for the shutdown command in Cygwin is for sleep mode.

View 1 Replies View Related

Ubuntu Servers :: Allow Single Folder To Be Accessed Remotely?

Apr 18, 2010

I recently set up a computer running Ubuntu 9.10 Desktop for use as a server, and successfully have it hosting game servers.I'm relatively new to Ubuntu, so I'm not sure how to go about this, but ideally I would like a user to be able to access a single folder on the server over the internet, and be able to upload and download files from it.It would be nice to set up multiple folders like this, so different people would have access to their own personal folder, but not anyone else's.

View 9 Replies View Related

Ubuntu Servers :: Can't Access MySQL Remotely Via PhpMyAdmin?

Jan 3, 2011

One server is a dedicated MySQL server. After upgrading that one to Ubuntu 10.04 (from an ancient Suse 9.2), both servers are running Ubuntu 10.04 LTS.I have another server that I use to administer the database server via phpMyAdmin. However since the upgrade it is not able to connect. I get an error #1130 Cannot log in to the MySQL server. The same happens if I try to connect remotely from the command line with: mysql -u root -h 129.79.137.121 -pI'm not sure if this is an iptables/ports problem or a configuration problem on the MySQL end or something else entirely.I've searched and tried the suggestions I've found in various places but none seems to have fixed it.

View 2 Replies View Related

Ubuntu Servers :: Apache Log And Remotely Access Desktop

Mar 9, 2011

I came back to see on the screen a message requesting remote desktop control. So I said no and went into remote desktop and said never allow connection. I had recently hosted a PHP app on the home pc for testing purposes using apache. Here are some of the last logs entries:

Code:
127.0.0.1 - - [08/Mar/2011:18:26:34 -0500] "POST /z3950search.php HTTP/1.1" 200 1731 "http://localhost/z3950search.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110303 Ubuntu/10.10 (maverick) Firefox/3.6.15"
127.0.0.1 - - [08/Mar/2011:18:26:37 -0500] "GET /favicon.ico HTTP/1.1" 404 500 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110303 Ubuntu/10.10 (maverick) Firefox/3.6.15"
127.0.0.1 - - [08/Mar/2011:18:26:38 -0500] "GET /favicon.ico HTTP/1.1" 404 500 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110303 Ubuntu/10.10 (maverick) Firefox/3.6.15" .....

View 2 Replies View Related

Ubuntu Servers :: Best Practice To Reboot Server Remotely?

May 23, 2011

I'm writing you to ask some help with administrating a server remotely.
I have a machine I use remotely when I have to travel, some time for quite long periods like from one to three months.
Last time it happened to me that after upgrading I send the reboot command
and the machine didn't turn down, so I couldn't be able to access it.
My question is: how can I avoid such situations?
Is there any best practice to follow?

View 5 Replies View Related

Ubuntu Servers :: Loosing Abilitly To Remotely Connect?

Jul 22, 2011

System hostname Server Operating system Ubuntu Linux 11.04 Webmin version 1.550 Time on system Fri Jul 22 09:23:44 2011 Kernel and CPU Linux 2.6.38-10-generic on i686 Processor information Genuine Intel(R) CPU 2160 @ 1.80GHz, 2 cores

Every couple of hours I am unable to ssh or vnc in to my system or anything else. I can remote into another PC on my LAN and everything works fine. The only things that fixes the problem is restarting the system. Could someone point me in the right dirrection to start trouble shooting this problem? I am still learning where all the log files are and I am generally new to linux

View 2 Replies View Related







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