General :: Root File System Partitioning - Filesystems ?

Feb 12, 2010

I've been using *Unix systems for many years now, and I've always been led to believe that its best to partition certain dirs into separate FileSystems, off the main root FS.

For instance, /tmp /var /usr etc

Leaving as little as possible on the main / system.

Its so that you don't fill up the root system be accident, by some user putting in too bigger files in /tmp, for example.

I would presume that filling the / system would not be too good for Linux, as it would not be able to write logs and possibly other things that it needs to.

I believe that if root gets full, then there is something like a 5% amount saved for just 'root' to write to, so that it can do its stuff.

However, eventually, / will become full, and writes will fail.

On top of this, certain scripting tools, such as awk, use the /tmp/ system to store temp files in, and awk wont be able to write to /tmp/ as its full, so awk will fail.

However, I'm being advised that there is no need to put /tmp /var etc onto separate FSs, as there is no problem nowerdays with / filling up. So, /tmp /var /usr are all on the root FS.

I'm talking about large systems, with TBs of data (which is on a separate FS), and with a user populations of around 800-1000 users, and 24/7 system access.

View 2 Replies


ADVERTISEMENT

General :: No Root File System Is Defined. Please Correct This From The Partitioning Menu?

Apr 29, 2011

From Ubuntu 11.04 installer. What does this mean? how do I do it correctly?

View 11 Replies View Related

Ubuntu Installation :: No Root File System Is Defined Partitioning ?

Dec 2, 2010

So I keep getting this error from the 10.10 installer:

"No root file system is defined. Please correct this from the partitioning menu."

However the partitioning menu shows no disks or partitions at all.

The disk browser can however see and mount both partitions from my disk.

It is a terabyte SATA drive and the bios has been set to IDE.

It has 2 partitions with windows installed on the first partition.

Gparted can see both partitions but claims it cannot find the mount point of the second partition. (both are NTFS)

I have attached a screenshot.

How to proceed from here so I can install Ubuntu.

View 4 Replies View Related

General :: Filesystems - File System For Removable Storage?

Apr 7, 2011

I have a 500GB external drive I want to use on a couple of Linux systems, and looking for a filesystem for it. External drives are frequently formatted in FAT32, but I don't need to interoperate with Windows and would rather avoid the ugly limited kludge that is FAT.

Since I only need to use it on Linux, I would use ext4 or XFS, but they store ownership information. Ideally, I'd use a proper Unix file system that doesn't track ownership (files are owned by whoever mounts the device, like they are when mounting a FAT32 partition), but I do not know of any file system that does that.What would be a good file system for this disk?

View 2 Replies View Related

General :: Filesystems - Where To Find A Description Of File System Mount Options

Aug 28, 2010

Is there some file in Linux that enumerates and describes mount options for file systems like /etc/services describes ports?

View 2 Replies View Related

General :: Commands To Find Type / MountPoint / File System Id For The Filesystems?

Jan 12, 2010

I need commands which five me the following details abt all the file systems mounted the linux box

type
mount pt
file system id

View 4 Replies View Related

Ubuntu Installation :: "No Root File System Is Defined - Correct This From The Partitioning Menu"

Dec 23, 2010

I have installed ubuntu onto a 64 bit Windows 7 machine using Wubi. [Note: I thought that I was downloading 10.10, but the installer said it was 10.04] When Wubi gave be a choice of which drive to install on, I choose my second drive (B) My Windows 7 resides on (C)

The install seemed to take a long time, but I think that was because it was downloading the whole operating system install files. When it was finished downloading it asked me if I wanted to reboot, I selected yes (reboot). Then the boot screen gave me the choice: Windows or Ubuntu. I choose Ubuntu and then I get the error:

"No root File system is defined. correct this from the partitioning menu."

Damn that Ubuntu splash screen was so beautiful and I thought I was home free. I have read a few threads here and other places on line. I have read that I may have to partition the drive. Was my mistake in choosing the B: instead of the C: drive? If I partition can I partition from inside windows using the computer management software it provides? Do I need to partition at all? Or can I just move the installed files to the C: Are the files movable? In the ubuntu directory I see a file: uninstall-wubi.exe. Should I use this and try a reinstall onto the C:

View 9 Replies View Related

Ubuntu :: Error Message "no Root File System Defined Correct From Partitioning Menu"

May 14, 2011

I am running Ubuntu 11. 04 on my 160gb HD, which is making funny noises and could be on its way out. I have in my PC a 500gb HD on which I would like to install 11.04, but, althogh the dis has installed OK on my laptop, and on my 160HD on my desktop, it will not install on my 500gbHD, everytime I try I get the message "no root file system is defined, please correct this from the partitioning menu"

Snapshot of my drive............................
Screenshot.jpg

How do I partition it.

View 2 Replies View Related

General :: Partitioning - Difference Between File System Created By Fdisk And File System Created By Mkfs?

Aug 1, 2011

I'm a little bit confused with partitioning the filesystem in Linux. the difference between creating the file system with fdisk and mkfs (when formatting the disk). I can't clearly tell my problem, so please look at this picture:

View 2 Replies View Related

Ubuntu :: Installation - Partitioning - Change The Filesystems To Ext4?

Feb 8, 2011

I have 3 partitions, all NTFS filesystems, I want to keep them, but change the filesystems on all 3 of them to Ext4. So if i choose "Erase and use all" will I be able to partition later? I'm thinking more about doing like this, but I'm not sure : First partition as my main, system partition, is this correct?

View 6 Replies View Related

General :: Cannot Open File In RW Mode - Filling Root File System With Log Files

Nov 3, 2010

I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.

View 6 Replies View Related

General :: Filesystems - Write Files To HFS+ Drive From System?

Aug 22, 2011

Is it possible to write/edit files on HFS+ drive from Linux? Yes I need to disable journaling but how can I disable journaling from Linux? I dont have access to mac.

Or any tool available for doing this?

View 2 Replies View Related

General :: Debian System Drive Upgrade: Copy Filesystems From MBR Partitions To GPT?

Jan 23, 2010

My home server runs Debian Lenny, and I'm about to upgrade the system drive to a larger drive.In the process, I want to take the opportunity to reorganize the partitions and resize them. For learning purposes, I'm planning to migrate from an MBR partition table to GPT.Because of those two changes, I can't just run "dd if=/old/drive of=/new/drive" (well, not without lots more work afterwards). I could use the debootstrap process to get a fresh installation on the new system drive, but I used that technique during the last system upgrade and it's probably overkill for this.Can I just copy the partitions from the old drive to the new?Will "dd if=/dev/hda1 of=/dev/hdb2" work, assuming /dev/hdb2 is larger than /dev/hda1? (If so, the filesystem can be resized to take advantage of the new larger partition, right?)Would parted (or gparted) be a better tool for copying the contents of the partitions?

View 3 Replies View Related

General :: Partitioning / Perform Bad Blocks Scan On Root Partition

Nov 28, 2010

My root partition is formatted as ext3 and I would like to perform a bad blocks scan on it. Normally e2fsck -c -c does this, but you can not run it on a mounted partition. I know it is possible to force a fsck to run at boot by creating the file /forcefsck but is it possible to specify that it should also check for bad blocks? If not, what is the recommended way to check for bad blocks on the root partition? I would like to avoid having to create a rescue disk and boot off of it.

View 2 Replies View Related

General :: Partitioning For Slackware 10.1 - Require Traditional Root Account

Aug 31, 2009

In the ubuntu series I find my hard disk description as this: /dev/sda. As we know in slackware (10.1) for partitioning we either use 'fdisk' or 'cfdisk' when I use fdisk, like mentioned: fdisk /dev/sda. It says disk cannot be found.... or something like that. I think I know why?

You see my hard disk has the D: E: F: as extended partitions comprising logical drives and only my C: drive is pure primary. Does this have any connection with my problem? As from my explanation you can find that I'm a total wreck with computers.. but I'm very thrilled to learn linux. The reason why I need slax is that I require a traditional root account.

View 14 Replies View Related

General :: Filesystems - How To Find Which Process Had Created Any File

May 16, 2011

Is there any way to know which process had created any file in Linux Red Hat/CentOS 5?

View 2 Replies View Related

General :: Can't Mount Root File System

Apr 6, 2011

I am getting an error while booting my linux system: Can't mount root file system.Boot has failed, sleeping forever.OS is Red hat enterprise linux 6, With Intel P4, 1 GB Ram, 120 GB IDE hdd seagate. it was working fine from last 4 days. from today morning this is giving error. only mysql & apache is installed in it.
please suggest is there any way to repair the root & boot volumes. waiting for valuable reply.

View 2 Replies View Related

General :: Encrypting Root File System?

Sep 16, 2010

Is it possible to encrypt the Entire root file system using LUKS.I am currently using Ubuntu 10.4 LUCID.After several hours of Google ,most of the articles were focusing to "Encrypting a drive/removable media ".. My aim is to encrypt whole File system which is currently using.

My Concerns, How to Encrypt a running file system? Will it lead to data loss?

View 1 Replies View Related

General :: No Root File System Defined?

Feb 4, 2010

im trying to prepare my partitions for fresh installation. The partition manager didnt list anything with an error message that said:Quote:No root file system is defined. Please correct this from the partitioning menu?This is what Gparted displays Quote:

/dev/sda1 ext3 /tmp/boot
/dev/sda2 unknown
/dev/sda3 ext3 /tmp/opsys

View 14 Replies View Related

Ubuntu Installation :: Dual Boot Partitioning \ What File System Should Use For Windows Swap Partition

Sep 1, 2011

I am about to get a new laptop here soon and I was planning a dual boot like I have on my current laptop (Win7 and Ubuntu), but I have something special in mind. I looked around the forum to see if there was anything like what I had or if it was even possible but I didn't see anything quite like this.I was wondering if this was even possible, and if so, would anyone be able to tell me what filesystem I should use for my windows swap partition?

View 6 Replies View Related

General :: Filesystems - Convert A Disk Image Into A Sparse File?

Jul 31, 2010

I have a bunch of disk images, made with ddrescue, on an EXT partition, and I want to reduce their size without losing data, while still being mountable. How can I fill the empty space in the image's filesystem with zeros, and then convert the file into a sparse file so this empty space is not actually stored on disk?

For example:

> du -s --si --apparent-size Jimage.image
120G Jimage.image
> du -s --si Jimage.image
121G Jimage.image

This actually only has 50G of real data on it, though, so the second measurement should be much smaller.

This supposedly will fill empty space with zeros: cat /dev/zero > zero.file rm zero.file But if sparse files are handled transparently, it might actually create a sparse file without writing anything to the virtual disk, ironically preventing me from turning the virtual disk image into a sparse file itself. :) Does it? Note: For some reason, sudo dd if=/dev/zero of=./zero.file works when cat does not on a mounted disk image.

View 4 Replies View Related

General :: Filesystems - Best File-systems / Mount-configuration For Each Folder On GNU?

Apr 10, 2011

One of the good points of linux is that is easy to customize the partitioning scheme of the disk and put each directory (/home, /var, etc) in diferent partitions and/or diferent disk. Then we can use diferen file system/configurations for each of them for make them better. xamples:

noatime is a mount option to not write access time on the files. data=writeback is an option to layz write metadata on new files. ext3/4 has journaling that make the partition more secure in case of a crash. bigger blocks make the partition waste more space, but make it faster to read and may become more fragmented. (not sure) Then: What are the best filesystem/configurations for each directory? Note: given the answer of Patches, will only discuss /, /home and /var only.

/var -> It's modified constantly, it write logs, cache, temporal, etc.
/home -> stores important files.
/-> stores everything else (/etc and /usr should be here)

View 1 Replies View Related

General :: Use Initial RAM Disk As Root File System?

May 22, 2010

Information on the net seems very sparse or outdated for how to go about booting to a RAM disk. I need to be be able to boot a PC without a hard drive in it. I want to be able to PXE boot a PC and supply it with a RAM disk image that also contains the contents of the root file system (obviously stripped down enough to keep the file size small and the boot up time fast).What I have gathered so far is that I need to extract the contents of the initrd.img file, add files as necessary, and repackage the initrd.img file. What I get confused on is how to configure the kernel line parameters to tell it to boot to RAM and not the hard drive and how to go about modifying the init script in the initrd.img to not switch to the hard drive for the root file system. I can't find anything on the net that describes concrete steps on how to go about accomplishing all of this. I'm aware of the existence of Live CD's, but I need to be able to boot the PC without relying on a hard drive, CD, or any other external media. It needs to get all of its contents from the PXE boot server and boot to RAM only. I have the PXE boot side configured successfully. Also, putting the root file system on a NFS share is also out of the question.

View 8 Replies View Related

General :: Red Hat 7.0 Fails At Checking Root File System

Jan 19, 2010

I have a Rad Hat 7.0 old Linux system that crashed due to power failure. On reboot the system goes to Checking Root File System and does 92.5% check and fails.

Here are the error messages I get.

I don't know what to do at this point so I say yes and it goes in some wierd mode.

SO I ran fsck manually but I get an error PARALLEIZING FSCK.

I can't fix the corrupted stuff for the system to reboot. THIS IS VITAL.

View 11 Replies View Related

General :: Root File System More Users With Different Access Before Mounting?

May 11, 2011

I need to customize linux kernel root file system for embedded linux system. During compile time, for root file system I am able to create different user/group ex: "gnumuzic/Muzic". But I want to give access to group "Muzic" to some folders like /dev/nexig during compile time.

View 1 Replies View Related

General :: Installation Utilities Split Root File System

Jan 21, 2011

standard Linux installation utilities split the root file-system and the home file-system on two separate but relatively equal-sized partitions? For example, when I put fedora on an 80GB disk, it automatically gave the root file-system 32GB and home 30GB and the swap 8GB of space. However, since my home file-system has a directory with 28GB of files in it, why is my root file-system reading 100% usage? Is the home FS overlaid on top of the root FS? Is there an advantage to doing this? I just made a boot partition (50mb or so), a root partition (90% of the disk space) and a swap (4%-5% disk space).

View 5 Replies View Related

General :: Root File System Is Mounted Read-only On Boot On Gentoo?

Sep 27, 2010

I am using Gentoo Linux and for a while now, the root file system is mounted read-only on booting. For obvious reasons, this is quite annoying as most services do not start up correctly (I do not use a separate file system for /var). After the system is up, I have to log in, remount the root file system read-write, fix /etc/mtab, mount all other file systems in from /etc/fstab and then start up all the missing daemons. I know that there are ways to make a system run properly with a read-only file system, but I would rather restore the old behaviour of a writable root file system.

The strange thing is that after running mount / -o remount,rw, the file system is mounted in writable mode without any errors. I suspected some problem with fsck, but now I have disabled automatic file system checks on the partition (tune2fs -c0 -i0).When I run dmesg, only these lines mention the partition at all, although I am not sure if not something gets lost because /var/log is not writable:

EXT3-fs (sda5): mounted filesystem with writeback data mode</code>
EXT3-fs (sda5): using internal journal
The line in /etc/fstab looks like this:

[code]....

View 2 Replies View Related

General :: Mass Change_owner Happend To Root File System In Fedora?

Nov 21, 2010

I have a fedora 14 system. I booted a suse installation that existed on an external harddisk and wanted to access my original fedora user home directory using non-root preveliges(so that i can use the gui file manager), so I searched on the internet and made a command to (chown -R mysuseUser:Users *) thinking that it will only affect the current mount permissions (not permenantly) put it did change the file system... i realized and cut it in the middle but some corruption was done. and then my fedora gui login screen was missing any username. tried to fix that by going to my fedora and executing chown (once using --from , and once without --from) and changed all root file system recursively to be owned by root and then changed my /home/myuserName ownerships all recursively to be owned by myUserName after that... still the system is corrupted..... when i login to genome i have several crash messages (gdiskutility is one of them) and networking is disabled (i cannot connect to neither wireless nor wired nor wireless broadband). also when i plug USB/esata harddisks nothing happens

now i can only do work from my external harddisk`s suse linux. what can i do to restore my system ? I have a previous dd image of my entire harddrive, but it is more than one month old and also I don`t want to do a restore to my entire harddrive.. can i clone some ownerships from files in dd image to their corresponding ones in my fedora system ? if so, how can i even mount a dd image ?

View 6 Replies View Related

Ubuntu Servers :: Make SSD Root And Mount HD Partitions / Filesystems

Jun 28, 2011

I'm setting up an Ubuntu server to replace my aged Pentium IV Slackware box. It's a Dell Inspiron 560 with modest core-2 duo processor, 8 gigs of ram, and a pair of good sized hard disks. I came upon a good deal on a couple of 40gig Intel SSDs. I'd like to use one in the server. I'd like to use the SSD for the relatively invariant stuff, because they write slow, and are life-limited in the # of writes. So:
/bin
/usr/bin
/boot
/etc
/lib
/usr/lib
/usr/local/lib
/mnt
/opt

The best way IMHO to achieve this would be to make the SSD the root, and mount hard drive partitions/filesystems to it to places such as:
/var
/media (Here you read and write giant files. Hard disks do this just fine. One will work especially fine if one particular hard drive is dedicated to this.)
/root
/home
/tmp

A quick "df" yields a list of filesystems. There are four that are not tied to any device!
/dev
/dev/shm
/var/run
/var/lock

(df also discloses that the root filesystem is presently standing at 502megs. Guess it'll fit in a 40-gig SSD). These deviceless filesystems worry me. Are they created magically on boot? What's required to make the system magically create them on boot? If I copy the filesystem over to the SSD and redo the grub config, will it Just Work? Web searches reveal subtleties WRT mount points.

View 2 Replies View Related

General :: Installing Ubuntu From A Flashdrive Alongside - Ngside Windows - Error Message - No Root File System Is Defined

Jul 8, 2011

I can use Ubuntu from my flash drive, but I want to install it in a partition alongside windows. When I try to do this, I come to an 'allocate drive space' window, but whatever I do I get the error message: 'No root file system is defined. Please correct this from the partitioning menu.' I just don't know what this means, or what to do next. I'm loathe to ditch windows, and I don't want to have to use a flashdrive all the time.

View 3 Replies View Related







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