DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-06-15 06:45:36

crs2027
Member
Registered: 2008-10-14
Posts: 46

Hard disks concerns

Hey

just a few questions.

1) using fdisk -l I see the following:

Code:

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1          66      530113+ 82 Linux swap
/dev/sda2              67      121601   976229887+ 83 Linux

Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdb1               1          66      530113+ 82 Linux swap
/dev/sdb2             131      182401  1464091807+ 83 Linux
/dev/sdb4              67         130      514080  83 Linux

Partition table entries are not in disk order

question 1: is this anything to worry about "Partition table entries are not in disk order"
question 2: why has sdb got 3 partitions, and sda only has 2?  normal??

2) I attached a usb drive to my DNS323.  using df I get the following:

Code:

#which df
/ffp/bin/df

Filesystem           1K-blocks      Used Available Use% Mounted on
%root%                    9911      7756      1643  83% /
/dev/ram0                 9911      7756      1643  83% /
/image.cfs                5760      5760         0 100% /sys/crfs
/dev/sda2            960910180 735013256 225896924  77% /mnt/HD_a2
/dev/sdb2            1441117464 1258278004 182839460  88% /mnt/HD_b2
/dev/sdb4               497861         7    497854   1% /mnt/HD_b4
/dev/sdd1               998792    841428    106628  89% /mnt/ext


/bin/df

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/ram0                 9911      7756      1643  83% /
/dev/loop0                5760      5760         0 100% /sys/crfs
/dev/sda2            960910180 735013256 225896924  76% /mnt/HD_a2
/dev/sdb2            1441117464 1258278004 182839460  87% /mnt/HD_b2
/dev/sdb4               497861         7    497854   0% /mnt/HD_b4
/dev/sdd1               998792    841428    106628  89% /mnt/ext
/dev/sde1            1442145212 1128651544 240236868  82% /mnt/wd

question: why does /ffp/df NOT show sde when /bin/df shows it ?

thanks for any info!

Offline

 

#2 2010-06-29 07:16:30

crs2027
Member
Registered: 2008-10-14
Posts: 46

Re: Hard disks concerns

no thoughts?  sad

Offline

 

#3 2010-06-29 10:32:57

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Hard disks concerns

answer 1: Exactly as the message says: partition 4 is physically located (as far as a partition is physical) between partition 1 and 2.
answer 2: It seems to be normal to have that partition 4. When you search the forum for fdisk dumps, you'll find more of these. Don't know the purpose.
anwer 3: Long shot: /bin/df uses /etc/mtab to find out which partitions are mounted, while /ffp/bin/df uses /ffp/etc/mtab. Don't know if that is true, though.
You can always use 'df /dev/sde1' if you need to know the free size.

Offline

 

#4 2010-06-29 11:38:10

gasman
Member
From: Swansea,UK
Registered: 2009-06-23
Posts: 94

Re: Hard disks concerns

FWIW I am using RAID on my NAS and I get the following with a USB disk also attached.

Code:

/ # fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1          66      530113+ 82 Linux swap
/dev/sda2             131       60702   486544590  83 Linux
/dev/sda4              67         130      514080  83 Linux

Partition table entries are not in disk order

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdb1               1          66      530113+ 82 Linux swap
/dev/sdb2             131       60702   486544590  83 Linux
/dev/sdb4              67         130      514080  83 Linux

Partition table entries are not in disk order

Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdc1               1       30401   244196001  83 Linux
/ #

and for df

Code:

/ # /ffp/bin/df
Filesystem           1k-blocks      Used Available Use% Mounted on
rootfs                    9911      7636      1763  81% /
/dev/root                 9911      7636      1763  81% /
/dev/loop0                5760      5760         0 100% /sys/crfs
/dev/md0             478908352 406483664  72424688  85% /mnt/HD_a2
/dev/sda4               497861     18881    478980   4% /mnt/HD_a4
/dev/sdb4               497861        19    497842   0% /mnt/HD_b4
/dev/sdc1            240362656 132888004  95264852  58% /mnt/usb250
/ # /bin/df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/ram0                 9911      7636      1763  81% /
/dev/loop0                5760      5760         0 100% /sys/crfs
/dev/md0             478908352 406483664  72424688  85% /mnt/HD_a2
/dev/sda4               497861     18881    478980   4% /mnt/HD_a4
/dev/sdb4               497861        19    497842   0% /mnt/HD_b4
/dev/sdc1            240362656 132888004  95264852  58% /mnt/usb250

Last edited by gasman (2010-06-29 20:28:57)


DNS-323 FW 1.08 (05/15/2009) HW:B1
2 * Seagate    ST3500630AS (500GB)  Fun_plug 0.5
DNS-323 FW 1.08  (12/18/2009) HW:B1
2 * Hitachi    HDS5C3020ALA632 (2TB)  Fun_plug 0.5

Offline

 

#5 2010-07-03 23:22:43

quidnunc
New member
Registered: 2010-07-01
Posts: 4

Re: Hard disks concerns

It's normal. It makes all drives like that don't worry.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB