1

Topic: partitions are in reality sdb1 & 2 gparted showing sdc

I have a 160 GB storage drive and had a single partition working great.
I needed to categorize so I added a partition see

http://s577.photobucket.com/albums/ss219/worthamtx/

Short time after adding partition the 2nd icon aame up on desktop so I
assumed auto mount. Well I could not have been more mistaken.
See icons on link above as well.
The data partition identified by data icon refuses permission to permit storage.
Here is results mount command. Please note near end it says sdc rather then sdb

allen@allen-desktop:~$ mount
/dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.28-11-generic/volatile type tmpfs (rw,mode=755)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/allen/.gvfs type fuse.gvfs-fuse-daemon
(rw,nosuid,nodev,user=allen)
/dev/sdb1 on /media/disk type ext4 (rw,nosuid,nodev,uhelper=hal)
/dev/sdb2 on /media/data_ type ext4 (rw,nosuid,nodev,uhelper=hal)
none on /tmp/guest-home.lYOvxa type tmpfs (rw,mode=700)
/dev/sdc1 on /media/disk-1 type ext4 (rw,nosuid,nodev,uhelper=hal)
/dev/sdc2 on /media/data__ type ext4 (rw,nosuid,nodev,uhelper=hal)
allen@allen-desktop:~$

Probably redundant but here is fdisk as well

allen@allen-desktop:~$ sudo fdisk -l
[sudo] password for allen:

Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000c21c5

  Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        4708    37816978+  83  Linux
/dev/sda2            4709        4865     1261102+   5  Extended
/dev/sda5            4709        4865     1261071   82  Linux swap / Solaris

Disk /dev/sdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5b6ac646

  Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1        9339    75015486   83  Linux
/dev/sdc2            9340       19457    81272835   83  Linux
Please advise on what must be a number terminal commands
I sent this to ubuntu and they advised they did not know.
If its not gparted problem then I apologize.

2

Re: partitions are in reality sdb1 & 2 gparted showing sdc

I think it is not a real problem.
It is rather related to the manner each system understands and numbers the various drives on the computer. It is related to the connections on the controllers as well as the type of the drives (IDE or SATA).
It seems that Ubuntu made a simpler list, merging IDE and SATA numbering. GParted follows a more traditional way.
http://neosmart.net/wiki/display/EBCD/D … nd+Numbers

*** It is highly recommended to backup any important files before doing resize/move operations. ***

3

Re: partitions are in reality sdb1 & 2 gparted showing sdc

texas.chef94 wrote:

The data partition identified by data icon refuses permission to permit storage.

Is the question is related to refusal of permission to write data?

By default, only root has access to write to new partitions with file systems such as ext4.  If you wish another person or group to have access then you need to change the ownership and permissions on the mount point to grant the access permissions you desire.

4

Re: partitions are in reality sdb1 & 2 gparted showing sdc

Hi!

To be more precise, you'll have to mount the partition and then change the permissions of the mount point - if anybody should have write privileges, simply set the access mode to 777.
When changing the access mode while the file system is mounted, you'll in fact change the access mode of the partition's root directory. Otherwise (without the partition mounted), you'll change the mode of the mount point itself - but this change will become ineffective once the parttition is mounted there!

5

Re: partitions are in reality sdb1 & 2 gparted showing sdc

I tried sudo chown allen:allen /media/data_ after the partition
is mounted as I thought  /media/disk/data directory might not be getting used as
a mount point, so that may be where things got off the rails.

Also, tried  sudo chmod 750 /media/data_ to get the permission bits
in good shape, in case they're not

Seems to be resolved

6

Re: partitions are in reality sdb1 & 2 gparted showing sdc

stormhead wrote:

To be more precise, you'll have to mount the partition and then change the permissions of the mount point...

Thank you stormhead for this important clarification smile

7

Re: partitions are in reality sdb1 & 2 gparted showing sdc

You're welcome! ;-)