Red Hat / Fedora :: Adding Third Drive Keeping Share Under Var Files

Aug 7, 2010

I am just starting out in linux and am a little confused about mounting drives. On my fedora pc, I have 2 x hard drives. When I originally installed the os, I had 1 drive with the default partitioning. I placed all my data into /var/files and had various folders under there e.g. music, video, docs etc. It didn't take long for this to fill up. So I added a 2nd drive and mounted it as /var/files which increased the space for all the folders in that directory. So my fstab has:
sda1 /
sdb1 /var/files

Now its filling up again and I want to add a 3rd drive. But this time, I want to separate my music from my video's etc but still keep the share under /var/files. So, do I add the 3rd drive, mount it as /var/files/music1, then transfer the music files from /var/files/music to /var/files/music1 and once the transfer is complete, delete /var/files/music, rename /var/files/music1 to /var/files/music and then mount sdc1 to/var/files/music? The bit I can't get my head around is the mount within a mount:
sdb1 /var/files is mounting everything under it including /music
If I add sdc1 /var/files/music how does it affect the mount point of sdb1
Am I better putting the /music under /var/music instead of /var/files?

View 8 Replies


ADVERTISEMENT

Ubuntu Networking :: Share Files On External Drive?

Apr 7, 2011

In ubuntu 10 when i want to share a folder just go to that folder right clic>sharing options. Activate: share this folder Allow others to create and delete files in this folder Guest access (for people without a user acount)click on Modify share button in other computer I go to Places>Network doble clic in the computer with share folder, double click in the share folder, and I can access to the files

If the share folder is in the internal hard drive all runs good, but if I share a folder in a external drive, when i go to places>network doble clic in the computer icon, i see the share folder BUT when I made doble clic on to open it 'Unable to mount location Failed to mount windows share'

View 9 Replies View Related

CentOS 5 Networking :: Get Samba To Share Files From Ntfs Drive?

Jun 12, 2009

The file permissions on the folder are RW for user,group and world.(umask=0000) My main problem is with SELinux, I've tried to audit2allow and that seemed to work, all I had to do then was chcon the directory and files to type samba_share_t but the tool fails with Operation Not Supported. Am I to assume you simply cannot share files from a mounted ntfs drive under SELinux? Because I've just spent 2 hours trying and I've just about ready to just give up and just go back to windows when I need to share those folders. There's no way i can copy the folder contents to my Linux partition, far too big for that. Has anyone EVER been able to do this? Do I have to disable SELinux to do it?

View 3 Replies View Related

Ubuntu :: Dual Booting Windows Share Files On The Hard Drive?

Jul 23, 2011

I am buying a new laptop and am curious about dual booting it. I currently run Ubuntu full time, but will need windows for a few applications. (there are no cross over applications to do this)

When you put both windows and ubuntu on a computer do you share the hard drive? Meaning would I be able to access all my music in windows and then restart my computer-run ubuntu, would I have access to all the files?

View 6 Replies View Related

Fedora Installation :: Samba / Network Folder And See Other Computers Shared Files And Share Files?

May 5, 2010

I am used to Ubuntus simple sharing with samba. Just install it, reboot and then share the files.Then do I klick on network folder and see all the shared files on the computers in the network.

How do I install it so I only need to go into network folder and see the other computers shared files.Then, how do I share files?

I hope it's not so difficult and that I have to change i config-files.

I am new to Fedora.

View 4 Replies View Related

Fedora :: Adding SATA Drive - Not Detected By The Bios ?

Oct 18, 2009

I have a working F-10 box with an older motherboard (pre-sata). The p-ata ports are full (4 drives), so I'm trying to add a sata controller and another drive. The sata controller plugs into the pci bus, but is not detected by the bios (very old). After booting, the OS loads the driver module(s) and detects the new controller and drive. I was able to add the new sata drive into the LVM system using system-config-lvm. All was fine until I rebooted.

I get pages of lvm errors and booting fails. It looks like it's trying to mount the volumes before the sata controller is modprobed. Is there a way to get the os to modprobe for the new controller before trying to mount? The extra drive space is on a data partition, not the boot partition.

View 7 Replies View Related

Fedora :: Adding Second Drive To Existing System For RAID1?

Jul 31, 2011

I have an existing Fedora 15 system installed from scratch.I've ordered a harddrive identical to my SDA and want to add it to my existing system as a RAID1 setup.I've googled around and cannot find recent clear instructions how to accomplish this. I don't want to reinstall everything from scratch. It should be possible to create the RAID1 using the existing data disk and then mirror everything up?

View 1 Replies View Related

General :: Keeping All Data Off The Hard Drive?

Oct 4, 2010

My friend just got a gaming laptop that he won't let anyone else use (his last one got infected when his girlfriend surfed on it for just one hour -- he refuses to use antivirus since he claims he knows how to keep clean, but he doesn't trust others).

Because I used Linux a bit once, I said to him what if I could promise not to make any changes to your hard drive, and I told him that I was pretty sure I could boot to a live cd and then only write files to a usb key. He's actually willing to let me try (I showed him some linux sites I was looking at, and he believes me that we can do this).

1) Is there anything I either MUST do or else must NOT do to make sure I make no changes to his laptop's hard drive? And so that any changes are only going to go on the usb drive I hook up?

2) Since he's got an i7 processor, I assume I should get a version of ubuntu that supports 64 bits, right?

View 6 Replies View Related

Server :: Keeping Only The Most Recent 10 Files?

Dec 13, 2010

I need a quick script that will help me keep only the most recent 10 files in a directory.

The files look something like this:
-rw-r----- 1 root root 34816 Dec 13 13:06 3_270_737318733.dbf
-rw-r----- 1 root root 709120 Dec 13 13:06 3_271_737318733.dbf
-rw-r----- 1 root root 63488 Dec 13 13:06 3_272_737318733.dbf
-rw-r----- 1 root root 316416 Dec 13 13:06 3_273_737318733.dbf
-rw-r----- 1 root root 113664 Dec 13 13:06 3_274_737318733.dbf
code....

I need to eliminate the older files, and keep only the most current.

I've done a ls -l | sort -r and written that to a file i can read into a loop. That's where i'm running into difficulty. The difficulty being, that I don't know how to keep only the most current 10 files.

View 1 Replies View Related

OpenSUSE Install :: Using An SSD But Keeping Home Directory On Hard Drive?

Jun 14, 2011

I have a dual boot windows XP/OpenSuse 11.3 system running from a hard drive. They are both 32 bit in spite of the fact that the system can run 64 bit.

I would like to upgrade to Windows 7 64 bit (the wife insists, not yet a Linux possibility) and OpenSuse 11.4 64 bit, but having the programme files on an SSD for faster loading, with my data files on the existing hard drive.

I'm happy with the notion of getting the SSD going as a dual boot system. With Windows, as I understand it, it can tell it fairly easily where to look for the "my documents" folder on the hard drive.

However, the Home directory in Linux is not quite the same. How (if it's possible) could I run the SSD but use my existing Home directory on the hard drive?

View 9 Replies View Related

General :: Keeping New Ubuntu Installation's /var On Separate Drive Without Formatting

Oct 11, 2010

I have a server running an older version of Ubuntu and with /var stored on a separate partition on a separate hard drive. I am attempting to update Ubuntu to 10.04, but I still want to store /var on a separate partition and hard drive. However, I don't want to format the drive which currently contains /var, as it has important data.

Is there some way to have 10.04 set up the new /var on this separate drive at installation, without formatting the drive and losing the old /var?

View 1 Replies View Related

Ubuntu Installation :: Is Keeping NTFS Hard Drive Still Worth It?

May 14, 2011

It's been about three days since I've made Ubuntu my OS and I'm quite surprised to see, when I tried it first via wubi, that it actually reads NTFS partitions.It made backing up easy for me though now is it still alright that I still keep them NTFS or should I now start converting them to ext4? Except for my external hard drive.and what's the difference with ext3 and ext4? I was shown these options when I tried formatting my hard drive.

My other hard drive has two partitions which was done when I installed windows a few years back..If I would to reformat should I combine these partitions into one and make new partitions via that?

View 4 Replies View Related

Fedora Installation :: Cannot Share Second Drive Running F11?

Jul 27, 2009

I just installed Fedora 11 after wiping Fedora 9. Install went very smoothly and I like the upgrades. I am having trouble sharing a second drive. I didn't have this problem in 8 or 9. When I mount the drive under my login, I can't mount it in my wife's and vise versa. Even when I log out as opposed to switching users. This is the drive we have all of our multi media files and other files. So we both need to have access to it. Also I would very much like to share it with my XP laptop. The way I have been moving mp3s is to copy them to a jump drive then copy them the laptop. I had this problem with the Fedora 9 too.

View 3 Replies View Related

Ubuntu Installation :: Separate Hard Drive Keeping Current GRUB?

Mar 4, 2010

I'd like to install Lucid on a spare hard drive I have, so I can do my bit for testing it. I have a feeling that if I just burn the latest alpha .iso and install from that, it will replace my current GRUB, whereas I would prefer to simply add the Lucid install as an option in my current GRUB.

Of course I might be wrong, I just wanted to check before I went ahead with it. I was unable to find the info I needed via searching.

View 6 Replies View Related

Fedora Installation :: How To Install 10 From A Windows Share Drive

Feb 25, 2009

What is the procedure for installing Core 10 from the DVD img located on a Windows shared drive?

View 1 Replies View Related

Fedora Servers :: Samba Share On External USB Drive?

May 29, 2009

I have a server which currently has a samba share for a printer and my home directory. Both have been working fine for a while now. I have a drobo (which is like a little USB RAID machine) connect via USB to the linux box. While trying to share it via samba I get weird messages from my windows machine (see screenshot). I have tried to share multiple folders on this drobo and no luck, all the same result.

I also tried a symbolic link, no good.

Here is a screen shot
http://aivila.com/temp/screen.jpg
Here is my smb.conf file:
Code:
[home]
path = /home/savona
read only = no

[Code]...

View 12 Replies View Related

Fedora Networking :: How To Share Hard Drive On Network

Jun 18, 2010

I am trying to share a hard drive on the network. (Essentially the hard drive is for another computer which didn't have the physical space for it so this computer is like a holding place for the hd). I read somewhere that I can use samba to do this. But in all honesty I have no idea what I am doing. What would be the best way to share this drive? Also understand, I know little about networking.

View 5 Replies View Related

Fedora Networking :: Can't Share A Folder On An External USB Drive?

Jan 23, 2011

I am having the following problems with samba.

1. I cant share a folder on an external USB drive. (I have no problem doing so in UBUNTU)

2. I cannot seem to get Samba Swat to work.

I've Tried 127.0.0.1:901
my ip address:901
severname:901

I made sure that xinet was installed and started as well as smb and nmb. I can access other shares on the server just cant get samba swat to work nor can I set up a share on an External USB. I can access it from my side but not my Wifes side. I even made the root of the drive a share like so:

in smb.conf
[FreeAgent Drive]
comment=Shared Server Drive
path= /media/FreeAgent Drive
read only = no
browseable = yes
create mask = 0777
directory mask = 0777
valid users = argedion, perky

what am i missing or doing wrong? I have a simular set up on a server running UBUNTU 10.10 and it is sharing paths from a USB external. (note: I did not have to share the root of the drive in ubuntu.)

I know that Fedora is not UBUNTU nor GOD willing will it ever be. forgot to mention that firewall is off and i cannot access it even as root

View 14 Replies View Related

Ubuntu :: Adding A Share To A Panel?

Nov 10, 2010

Looking for information on how to add an icon to a panel that opens a windows share that I have mounted.

Also when I restart my PC the share seems to drop, is there a way to make them persistent.

View 3 Replies View Related

Ubuntu :: Keeping Show Hidden Files Unchecked

Jan 5, 2010

I want hidden files to be hidden, so I open the folder that has the hidden files in it and select View, and untick "Show Hidden Files". However, when I access the folder again the box is ticked and the files are showing. How can I get it to stay hidden permanently?

View 5 Replies View Related

Red Hat / Fedora :: USB External Drive - Create Share Folders With Passwords

Jun 12, 2011

I am new to Linux. I have a new ntfs usb external drive. I have attached to the Linux server but can't locate it. I would like to
1. mount it.
2. format to Linux file system
3. and then create share folders with passwords using samba.

View 2 Replies View Related

Red Hat / Fedora :: Share Files Between Host XP And VM?

Apr 16, 2010

I have a Win XP host machine where I am running a Redhat virtual machine using VMplayer. I have a tool in the VM that I need to run using some input data located on the host machine. How can I share files between the host and the VM? I need to be able to read/write files from within the VM.

Someone mentioned "Samba" to me and it looks like it's installed on the VM, or at least I see files and folders on the VM containing "samba" in their names. So how do I use it for sharing? Are there other approaches?

View 5 Replies View Related

Ubuntu :: Adding New File To /usr/share/backgrounds?

Apr 24, 2010

add a different picture to the usr/share/backgrounds folder so I can change the login screen picture. How do I do that?

View 5 Replies View Related

Programming :: Rename Files Recursively, Only Keeping Last X Digits Plus Extension?

Nov 29, 2009

My problem is this:I have a number of directories, all containing files of different name lenghts, including letters, numbers and possibly spaces. I want to recursively rename all of these files, so that only the _last_ 5 digits (not counting the extension) remain. In other words: I want to cut off all but the last 5 digits and not touch the extension.

I've tried to read up on tr, rename (perl version), sed, cut etc. and browsed through some threads here, but so far couldn't quite figure out how to do it.

If someone could point me to the right (standard) CLI tools and syntax.

View 2 Replies View Related

Ubuntu Security :: Configure The Share And Folder So That The Win7 Client Can Create Files And/or Folders In The Share?

Jan 15, 2010

I've just installed Ubuntu 9.10 and Samba 3.4. I've shared a folder and have accessed the share from a Windows 7 client. However, I've struggled to configure the share and folder so that the Win7 client can create files and/or folders in the share. Kept getting Permission Denied errors. Finally, (using Webmin) I set the permissions on the file folder so that "Other" had write access. I don't understand why this was necessary (and how unsecure this is). I already had the write access checkbox ticked for "User" but it wasn't enough.

View 1 Replies View Related

Ubuntu :: Share Files And Folders But It Does Not Allow To Select Share Folder

Sep 20, 2010

1. I have Ubuntu 10.04.1 installed alongside Windows Home premium 7 on a Compaq CQ5110f with 2 dual processors, 320 GB HDD, 4 gb Ram, less than a year old/ It is giving me some error messages. It is wanting to lock the drive or various programs after being left unused for a few minutes, I have not found where I can disable this. I do not need passwords, really. I am the only user. I reinstalled it once, on top of itself (Ubuntu) and it worked fine briefly, then started doing it all again.

I use to sometimes install Ubuntu as a windows app. on a previous version, maybe 9.04 - 9.10, but think I can not do it on this version?

So, Can I install as WIndows app on this version of Ubuntu? CAn I install Ubuntu on one drive alone, and windows on the other drive alone, install both in same computer and get dual booting? I think before, to do that I had to reset boot drives in BIOS to whichever I had the OS I wanted to use?

Or MUST they be installed on same drive for dual booting to be available?

I am attaching screen shots of the messages I get, etc. I have tried to share files and folders, but it does not allow me to select Share this folder as some security thing is not installed, And the time I am required to enter password to use comp[iter after being idle a few minutes, seems to be tied to my folder, which is JOHN. I may have to think about removing Ubuntu from this drive, add a SATA drive and use two, one for Windows and one for Ubuntu.

View 5 Replies View Related

Fedora :: Copy Files In Ftfs Drive To Ext3 Drive?

Dec 4, 2009

i want copy files in ftfs drive to ext3 drive. how am I do this?

View 2 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

Fedora Networking :: Share My External Hard Drive Over My Wireless Network?

Aug 4, 2009

i am using fedora 11 and i want to share my western digital external hard drive over my wireless network like i previousely did with my windows os. it is connected via usb to my computer. how do i do this ?

View 6 Replies View Related

Fedora Networking :: Share Files With Winbox ?

Jun 29, 2009

I have a speedtouch router, home network . i can share files between 2 windows XP boxes over it ..

Is there a way to share files between fedora 11 , and a specific folder in a windows xp machine ..?

And how can i browse my files in fedora from windows XP .. ?

View 4 Replies View Related







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