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 2012-09-07 15:02:14

random404
Member
Registered: 2011-10-17
Posts: 17

Deleting partitions /dev/sda4 /dev/sdb4 (ALT-F on DNS-323)

I just switched to ALT-F on my DNS-323 and love it, and wanted to know whether it's safe to delete partitions /dev/sda4 and /dev/sdb4 on the disks (no RAID used, just 2 independent disks in the NAS). I think these partitions were created on fresh disks by the DLINK firmware, and I never figured out what they were for or why. When I telnet into the NAS and do 'fdisk -l' I get this:

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             131      121601   975715807+ 83 Linux
/dev/sda4              67         130      514080  83 Linux

Partition table entries are not in disk order

When I do 'ls -la /mnt/sda4' I get this:

Code:

# ls -la /mnt/sda4
total 4
drwxrwxrwx    5 root     root          1024 Nov 29  2011 .
drwxr-xr-x    5 root     root           100 Sep  7 13:23 ..
drwxrwxrwx    2 root     root          1024 Aug 15  2010 .lpd
drwx------    3 root     root          1024 Oct 25  2011 .systemfile
drwx------    2 root     root          1024 Sep  7 11:12 lost+found

Would it be safe for me to remove /dev/sda4 partition and expand the size of /dev/sda2 to make use of that extra space? It's only about 500MB so there's not much space to be gained, but I'd still like to do this. (The partitions are both set to ext2 but I'm converting them to ext4 right now through the ALT-F web interface.)

Would it be preferable to do this from the command line through telnet, or from the web interface of ALT-F (is it possible through the web interface)?

I realize whatever I do is at my own risk, so I'd love to get your advice on this. Thanks.

Offline

 

#2 2012-09-09 22:32:11

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: Deleting partitions /dev/sda4 /dev/sdb4 (ALT-F on DNS-323)

I would think its pretty safe to remove this partition. I cannot believe alt-f use it for anythning. (by now I guess you have already done it).

Offline

 

#3 2012-09-10 11:03:29

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: Deleting partitions /dev/sda4 /dev/sdb4 (ALT-F on DNS-323)

I would only do that if you're sure you're never going back to the D-Link's firmware. Otherwise, you'll have to reformat the drive.


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB