Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-12-2011, 01:00 AM
|
#1
|
Member
Registered: Sep 2005
Location: Bangladesh
Distribution: RH 7.2, 8, 9, Fedora
Posts: 217
Rep:
|
how to add new HDD (with previous data) in CentOS
Guys,
2 questions... one is this is my fstab::
Code:
LABEL=/ / ext3 defaults 1 1
LABEL=/backup /backup ext3 defaults 1 2
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdb2 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
Now while installing, I had 2 Hdds. at the time of partitioning, i used both as separate Hdd and made a /backup. I used that for my backups. That was RH9. Now I want to install Centos 5. and i wish to keep the /backup as it was. (as my cron scripts and others are written in this way)I wish that it will be mounted at the time of boot. And moreover, I can add a new hdd (using the manuals) but I need to keep the data. ay ideas??
Also the second question:: I have implemented a WiFi hotspot in a hotel with a Cisco WLC and several Cisco APs. Now I wish to restrict and log on access for both wifi and wired LAN using user names. Raduis is okey... with a mysql password database... I found a thing named hotex hotspot billing. But that's expensive. Also FCS's module is expensive too. I do not need billing, just access control. Any ideas on this?? It must be a linux based kind of baremetal package... best if based on centos.
Thanks in advance.
Mishu~
|
|
|
05-12-2011, 08:38 PM
|
#2
|
Senior Member
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385
|
@ Reply
Hi there,
First, in your /etc/fstab you have put the label, now we are not sure on which device /backup is mounting so can't comment on which device you shouldn't be touching. Give us the output of df -h and mount and then we can see on which device /backup is getting mounted.
Second, you said that you are using Cisco WLC and Cisco APs and I think there should be an option to configure WEP or WEP2 on them?
Another way is to setup a proxy server which the users will get when they get connected to your system and make that proxy password protected so that they will not be able to browse anything until they authenticate to that proxy.
|
|
|
05-13-2011, 12:43 PM
|
#3
|
Member
Registered: Sep 2005
Location: Bangladesh
Distribution: RH 7.2, 8, 9, Fedora
Posts: 217
Original Poster
Rep:
|
df -h gave
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 113G 5.7G 102G 6% /
/dev/hdb1 111G 4.2G 101G 4% /backup
/dev/hda1 99M 15M 80M 16% /boot
none 247M 0 247M 0% /dev/shm
==============================================================
For the WiFi Part...
I know that there are some packages those use radius for authenticating... they call this kind of captive portal... It's not the proxy password. And also wep keys are not the issue here.
|
|
|
05-13-2011, 01:45 PM
|
#4
|
Senior Member
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385
|
@ Reply
/dev/hda2 113G 5.7G 102G 6% /
/dev/hdb1 111G 4.2G 101G 4% /backup
/dev/hda1 99M 15M 80M 16% /boot
none 247M 0 247M 0% /dev/shm
For the above output I will say make a note of it and then during the install make sure that you select custom partition layout. Do not touch /dev/hdb1. It might be possible that install can show some other device mounting to /backup at the time of install that is the reason I am asking you make a note so that you can identify them with the help of their size.
You can delete / which is the root partition used by this OS. Delete /boot and none, none is nothing but a tmpfs which is use to enhance the passing of date between programs so you don't need to worry about that as it will again get created automatically during install.
New partition layout:
Make root partition on /dev/hda2 with the size 112.8
Make a boot partition on /dev/hda1 with the size 97 MB
Leave /backup partition untouched
none or tmpfs will automatically get created no need to worry about that.
I am suggesting you to create new partition with a little less size so that you do not overwrite any existing partitions boundries.
Last but not the least before doing the install make sure that you take a backup of full file system and validate the backed up data to make sure you are on the safer side.
|
|
|
All times are GMT -5. The time now is 06:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|