Category talk:Howto

From openSUSE

There must be many ways to add a disk. This will describe one way that I found to do so.

I'm running SUSE 10.0 with the Gnome desktop.

Assuming you have already installed the hardware in your computer and booted to the desktop, click on Applications, System, YaST. It should prompt you for the root password, type that in and click Continue.

The YaST controller center should now be open, click on System and Partition. My system is faily fast, but this application isn't. Just wait a few mins for it to open.

<Wait some more>

It will give you a Warning: Only use this program if you are familiar with partitioning hard disk. It also tells you not to partition any disk that are mounted or in use, but for my case, I'm adding a new disk. This was not a issue.

Click Yes ! <wait some more but not as long this time>

Look at the table and determine which is your new disk. Click Create It will prompt you for which disk to partition, select that disk and click ok. Next it prompts for Primary or Extended Partition. If this is the first partition on this disk, click Primary and click ok.

Now this is the good stuff, You can pick the type file system, how large to make your partition and where to mount it. I choose to use the default file system, and all the space on the disk so all I had to add was a mount point, I choose /data/lun3, Click ok.

Your new file system should show up on your screen now, but there is one more thing to do.

Click Apply in the bottom right.

This will add the necessary line to your /etc/fstab and automount your disk.

To see your new space, which is empty of course, Right click on Computer and choose Brouse folder. Click on Filesystem, and if you put yours in /data/<anyname> you should now see a data directory listed in your root file system.

YEA !!! But your still not done... Sadly

If you try you will find you can't copy a file to it. The reason is simply, it's owned by root and you do not have permission unless your logged on as root of course...

Open a command prompt type su to log on as root and it will prompt you for a password

In my case I then typed cd /data. Remember my folder is /data/lun3 Type ls -lia to view current permissions. Then I typed chown <myname> lun3.

That was it, now I can put files there

Enjoy